summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc/shift1.right
diff options
context:
space:
mode:
authorDenys Vlasenko2021-09-07 18:16:45 +0200
committerDenys Vlasenko2021-09-07 18:16:45 +0200
commit64aa86b720641cb50be9636e6c20d4dbbea6fed0 (patch)
tree831e13eec7b361f1f9b37a4359594969eee0050c /shell/ash_test/ash-misc/shift1.right
parentd6c9cbc0727cc3875672ae280ec129514a9d8594 (diff)
downloadbusybox-64aa86b720641cb50be9636e6c20d4dbbea6fed0.zip
busybox-64aa86b720641cb50be9636e6c20d4dbbea6fed0.tar.gz
ash: LINENO starts from 0 in -c SCRIPT mode
The var_LINENO3.tests fails for hush: it does start from 0, but does not increment. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-misc/shift1.right')
-rw-r--r--shell/ash_test/ash-misc/shift1.right2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash_test/ash-misc/shift1.right b/shell/ash_test/ash-misc/shift1.right
index b53453c..fdba79f 100644
--- a/shell/ash_test/ash-misc/shift1.right
+++ b/shell/ash_test/ash-misc/shift1.right
@@ -1,5 +1,5 @@
2 3 4
-0: shift: line 1: Illegal number: -1
+0: shift: line 0: Illegal number: -1
1 2 3 4
2 3 4
3 4