diff options
author | Denis Vlasenko | 2007-05-24 13:22:01 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-05-24 13:22:01 +0000 |
commit | cd7f4d27a2ccda62c3cd41c980a75a1aa59d8534 (patch) | |
tree | 040956e44b8f2b871f66aff049059ec72c449998 /shell/hush_test/hush-misc/shift.tests | |
parent | 2b6bbad4dbc7d14bc0fca8eec41e6bfa35453537 (diff) | |
download | busybox-cd7f4d27a2ccda62c3cd41c980a75a1aa59d8534.zip busybox-cd7f4d27a2ccda62c3cd41c980a75a1aa59d8534.tar.gz |
hush: improve 2 testsuite tests
Diffstat (limited to 'shell/hush_test/hush-misc/shift.tests')
-rwxr-xr-x | shell/hush_test/hush-misc/shift.tests | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/shell/hush_test/hush-misc/shift.tests b/shell/hush_test/hush-misc/shift.tests index 17f2c9f..53ef249 100755 --- a/shell/hush_test/hush-misc/shift.tests +++ b/shell/hush_test/hush-misc/shift.tests @@ -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 |