summaryrefslogtreecommitdiffhomepage
path: root/shell/ash_test/ash-vars/param_expand_assign.right
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-09-07 18:16:45 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-09-07 18:16:45 +0200
commit64aa86b720641cb50be9636e6c20d4dbbea6fed0 (patch)
tree831e13eec7b361f1f9b37a4359594969eee0050c /shell/ash_test/ash-vars/param_expand_assign.right
parentd6c9cbc0727cc3875672ae280ec129514a9d8594 (diff)
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-vars/param_expand_assign.right')
-rw-r--r--shell/ash_test/ash-vars/param_expand_assign.right14
1 files changed, 7 insertions, 7 deletions
diff --git a/shell/ash_test/ash-vars/param_expand_assign.right b/shell/ash_test/ash-vars/param_expand_assign.right
index 6e9ea1379..52eaef9f8 100644
--- a/shell/ash_test/ash-vars/param_expand_assign.right
+++ b/shell/ash_test/ash-vars/param_expand_assign.right
@@ -1,11 +1,11 @@
-SHELL: line 1: syntax error: bad substitution
-SHELL: line 1: syntax error: bad substitution
-SHELL: line 1: syntax error: bad substitution
+SHELL: line 0: syntax error: bad substitution
+SHELL: line 0: syntax error: bad substitution
+SHELL: line 0: syntax error: bad substitution
0
-SHELL: line 1: 1: bad variable name
-SHELL: line 1: 1: bad variable name
-SHELL: line 1: 1: bad variable name
-SHELL: line 1: 1: bad variable name
+SHELL: line 0: 1: bad variable name
+SHELL: line 0: 1: bad variable name
+SHELL: line 0: 1: bad variable name
+SHELL: line 0: 1: bad variable name
_aa
_aa
_aa