aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-06 20:12:44 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-06 20:12:44 +0200
commite59591a364e43bccb6fd4d373d3ed86fc77dffb7 (patch)
tree6a298288c291b0ce3310e15807a175c025f36c1a /shell/ash_test/ash-misc
parent74d20e637982b412611dbbf32b633857b1c73539 (diff)
downloadbusybox-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-xshell/ash_test/ash-misc/shift1.tests2
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