|
From: lacton <la...@us...> - 2008-03-22 10:19:52
|
Update of /cvsroot/shunit/ShUnit In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv25290 Modified Files: shUnitTest Log Message: [fix] Portability bug. Should use '=' instead of '=='. Index: shUnitTest =================================================================== RCS file: /cvsroot/shunit/ShUnit/shUnitTest,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** shUnitTest 22 Mar 2008 09:13:49 -0000 1.20 --- shUnitTest 22 Mar 2008 10:19:47 -0000 1.21 *************** *** 168,175 **** shuDeny "Exit code should be KO" $? ! test "" == "$stdout" shuAssert "Standard output should be empty" $? ! test "shuStart: invalid number of arguments -- 2" == "$stderr" shuAssert "Error message" $? } --- 168,175 ---- shuDeny "Exit code should be KO" $? ! test "" = "$stdout" shuAssert "Standard output should be empty" $? ! test "shuStart: invalid number of arguments -- 2" = "$stderr" shuAssert "Error message" $? } |