On 12/28/07, Oliver Schäfer <[EMAIL PROTECTED]> wrote: > > > On Dec 27, 2007, at 8:22 , Kristis Makris wrote: > > > 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 ? > > I've looked into it. OUTPUT isn't blank, it has leading whitespaces. > Script below produces: > > ----------- > 1 > 1 > PASSED > -----------
Then it passed. And it is not a problem. The testcase worked when you just run it and copy pasted the output here. Trimming the output works for me. Shall we apply trimming to all > 'install_glue_wrong_ip.sh' tests? Trimming is irrelevant here. if [ 1 = 1 ]; then is the same as if [ 1 = 1 ]; then I still believe OUTPUT is blank.
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
