hush: improve 2 testsuite tests

This commit is contained in:
Denis Vlasenko
2007-05-24 13:22:01 +00:00
parent 2b6bbad4db
commit cd7f4d27a2
4 changed files with 17 additions and 2 deletions

View File

@@ -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