← Commit list

cd7f4d27a

Denis Vlasenko
Denis Vlasenko
2007-05-24
FAILED Duration: 12s

Subject

hush: improve 2 testsuite tests

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/hush_test/hush-misc/shift.right+5 -1
@@ -1,2 +1,6 @@
./shift.tests abc d e
-./shift.tests d e
+./shift.tests d e 123
+./shift.tests d e 123
+./shift.tests
+./shift.tests
+./shift.tests
shell/hush_test/hush-misc/shift.tests+9 -1
@@ -1,6 +1,14 @@
if test $# = 0; then
- exec "$THIS_SH" $0 abc "d e"
+ exec "$THIS_SH" $0 abc "d e" 123
fi
echo $0 $1 $2
shift
echo $0 $1 $2
+shift 999
+echo $0 $1 $2
+shift 2
+echo $0 $1 $2
+shift 2
+echo $0 $1 $2
+shift
+echo $0 $1 $2
shell/hush_test/hush-misc/syntax_err.right+1 -0
@@ -1 +1,2 @@
+shown
hush: syntax error: unterminated '
shell/hush_test/hush-misc/syntax_err.tests+2 -0
@@ -1 +1,3 @@
+echo shown
echo test `echo 'aa`
+echo not shown