Page 1 sur 1

Shell execute error

Publié : jeu. août 04, 2016 11:42 am
par ivan
Hi,

I use Squash TA V1.7.1.
When I try to execute this code I got build errors dues to "EXECUTE local .." command.
(As example "EXECUTE log.." command is working

Does anybody could help ?

Thanks,
Ivan

SETUP :

LOAD sample-resource.txt AS resource

// here we test the macro defined in shortcuts/sample_shortcut.macro. Note that none of the instructions here are case sensitive :

TEST :

# LOAD sample-dataset.xml TO XML DATASET dataset
DEFINE $(echo hello word) AS command.file
CONVERT command.file TO query.shell USING $(timeout:15000, streamlength:600) AS commandLine
EXECUTE local WITH commandLine AS result
ASSERT result DOES contain WITh $(hello word) USING $(out)

Shell execute error

Publié : jeu. août 04, 2016 11:49 am
par ivan
Build error file...

Shell execute error

Publié : mer. janv. 04, 2017 10:57 am
par Karim Drifi
Hello,

Can you try without the streamlength optio in the convert instruction ?

[code]
CONVERT command.file TO query.shell USING $(timeout:15000) AS commandLine
[/code]

(This option is used for loaded files)
Let me know the result.

Karim Drifi.

Re: Shell execute error

Publié : mar. avr. 09, 2019 1:39 pm
par mathieuamalric412
cette erreur est devenu tres common.