Because the OUTPUT variable was left blank, hence the shell executed:

if [ = 1 ]; then
   ...

which is invalid.

I suspect OUTPUT remained blank due to a problem with the 'wc' utility on
the Mac. Can you look into it ?

On 12/27/07, Oliver Schäfer <[EMAIL PROTECTED]> wrote:
>
> Good morning everyone,
>
> http://bugzilla.mkgnu.net/show_bug.cgi?id=1084
>
> Testcase svn/install_glue_wrong_ip.sh only passes with
>
> if [ $OUTPUT = 1 ]; then
>      echo PASSED
> fi
>
> instead of original code:
>
> if [ "$OUTPUT" = "1" ]; then
>      echo PASSED
> fi
>
> Can anyone explain me why this happens?
>
> --
> Oliver Schäfer_______________________________________________
> scmbug-users mailing list
> [email protected]
> http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
>
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to