bunzip2.tests: replace $? with \$?
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 17 Jan 2010 18:08:39 +0000 (19:08 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 17 Jan 2010 18:08:39 +0000 (19:08 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
testsuite/bunzip2.tests

index 7875cd1aef382c5475bfa02ac73d2f04c62131ba..734acbb75f6c64857e65aa391c069a1ae5889cc4 100755 (executable)
@@ -504,7 +504,7 @@ prep; >t1; check "$unpack: already exists" "${bb}$unpack t1.$ext t2.$ext; echo \
 
 # From old testsuite
 expected="HELLO\n0\n"
-prep; check "$unpack: stream unpack" "cat t1.$ext | ${bb}$unpack; echo $?"
+prep; check "$unpack: stream unpack" "cat t1.$ext | ${bb}$unpack; echo \$?"
 
 expected="ok\n"
 prep; check "$unpack: delete src" "${bb}$unpack t2.$ext; test ! -f t2.$ext && echo ok"