running a simple command line tool

Steve Flynn anothermindbomb at gmail.com
Thu Feb 23 11:35:52 UTC 2012


On 23 February 2012 11:16, CJ Tres <ctres at grics.net> wrote:

> Running basic smoketest.
> smoketest.sh: 12: [[: not found
> smoketest.sh: 18: [[: not found
> smoketest.sh: 26: function: not found
> Error found.  Leaving run.11199 in place.
> Unable to execute command: 'sh test.sh'


These errors are coming from smoketest.sh shell script - it's
basically saying that the shell the script is running under doesn't
support [[ and ]] as test commands.

Have a look at the first line of this script - it'll begin with a hash
bang (#!) followed by the name of the shell which should be used to
interpret the script.

What does it say?

-- 
Steve

When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.




More information about the ubuntu-users mailing list