diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-06 20:12:44 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-06 20:12:44 +0200 |
commit | e59591a364e43bccb6fd4d373d3ed86fc77dffb7 (patch) | |
tree | 6a298288c291b0ce3310e15807a175c025f36c1a /shell/ash_test/ash-misc | |
parent | 74d20e637982b412611dbbf32b633857b1c73539 (diff) | |
download | busybox-e59591a364e43bccb6fd4d373d3ed86fc77dffb7.tar.gz |
hush: Print error messages on shift -1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-misc')
-rwxr-xr-x | shell/ash_test/ash-misc/shift1.tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash_test/ash-misc/shift1.tests b/shell/ash_test/ash-misc/shift1.tests index 0992d9b1b..2774b35ea 100755 --- a/shell/ash_test/ash-misc/shift1.tests +++ b/shell/ash_test/ash-misc/shift1.tests @@ -1,5 +1,5 @@ $THIS_SH -c 'shift; echo "$@"' 0 1 2 3 4 -#We do abort on -1, but then we abort. bash executes echo. +# We do complain on -1, but then we abort. bash executes echo. $THIS_SH -c 'shift -1; echo "$@"' 0 1 2 3 4 $THIS_SH -c 'shift 0; echo "$@"' 0 1 2 3 4 $THIS_SH -c 'shift 1; echo "$@"' 0 1 2 3 4 |