From: Arun Thomas Date: Sun, 27 Jun 2010 10:59:14 +0000 (+0000) Subject: Fix grep test 4 in testsh1 X-Git-Tag: v3.1.8~333 X-Git-Url: http://zhaoyanbai.com/repos/man.arpaname.html?a=commitdiff_plain;h=1f20814fe833162b74e1b6107a7e896427443327;p=minix.git Fix grep test 4 in testsh1 --- diff --git a/test/testsh1.sh b/test/testsh1.sh index 10bdc61c5..eccff8f34 100755 --- a/test/testsh1.sh +++ b/test/testsh1.sh @@ -151,8 +151,8 @@ grep "a" ALPHA >x if test -s x; then echo Error on grep test 2; fi grep -v "0" alpha >x if cmp -s x alpha; then : ; else echo Error on grep test 3; fi -grep -s "a" alpha >x -if test -s x; then echo Error on grep test 4; fi +grep -s "a" XXX_nonexistent_file_XXX >x +if test -s x; then echo "Error on grep test 4"; fi if grep -s "a" alpha >x; then : else echo Error on grep test 5; fi if grep -s "a" ALPHA >x; then echo Error on grep test 6; fi