mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
hush: improve 2 testsuite tests
This commit is contained in:
parent
2b6bbad4db
commit
cd7f4d27a2
@ -1,2 +1,6 @@
|
|||||||
./shift.tests abc d e
|
./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
|
||||||
|
@ -1,6 +1,14 @@
|
|||||||
if test $# = 0; then
|
if test $# = 0; then
|
||||||
exec "$THIS_SH" $0 abc "d e"
|
exec "$THIS_SH" $0 abc "d e" 123
|
||||||
fi
|
fi
|
||||||
echo $0 $1 $2
|
echo $0 $1 $2
|
||||||
shift
|
shift
|
||||||
echo $0 $1 $2
|
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
|
||||||
|
@ -1 +1,2 @@
|
|||||||
|
shown
|
||||||
hush: syntax error: unterminated '
|
hush: syntax error: unterminated '
|
||||||
|
@ -1 +1,3 @@
|
|||||||
|
echo shown
|
||||||
echo test `echo 'aa`
|
echo test `echo 'aa`
|
||||||
|
echo not shown
|
||||||
|
Loading…
Reference in New Issue
Block a user