From 1f20814fe833162b74e1b6107a7e896427443327 Mon Sep 17 00:00:00 2001 From: Arun Thomas Date: Sun, 27 Jun 2010 10:59:14 +0000 Subject: [PATCH] Fix grep test 4 in testsh1 --- test/testsh1.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.44.0