diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-07 18:16:45 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-07 18:16:45 +0200 |
commit | 64aa86b720641cb50be9636e6c20d4dbbea6fed0 (patch) | |
tree | 831e13eec7b361f1f9b37a4359594969eee0050c /shell/ash_test/ash-misc | |
parent | d6c9cbc0727cc3875672ae280ec129514a9d8594 (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-misc')
-rw-r--r-- | shell/ash_test/ash-misc/control_char3.right | 2 | ||||
-rw-r--r-- | shell/ash_test/ash-misc/control_char4.right | 2 | ||||
-rw-r--r-- | shell/ash_test/ash-misc/shift1.right | 2 | ||||
-rw-r--r-- | shell/ash_test/ash-misc/tickquote1.right | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/shell/ash_test/ash-misc/control_char3.right b/shell/ash_test/ash-misc/control_char3.right index 283e02cbb..654005d24 100644 --- a/shell/ash_test/ash-misc/control_char3.right +++ b/shell/ash_test/ash-misc/control_char3.right @@ -1 +1 @@ -SHELL: line 1: : not found +SHELL: line 0: : not found diff --git a/shell/ash_test/ash-misc/control_char4.right b/shell/ash_test/ash-misc/control_char4.right index 2bf18e684..ec9d5fc98 100644 --- a/shell/ash_test/ash-misc/control_char4.right +++ b/shell/ash_test/ash-misc/control_char4.right @@ -1 +1 @@ -SHELL: line 1: -: not found +SHELL: line 0: -: not found diff --git a/shell/ash_test/ash-misc/shift1.right b/shell/ash_test/ash-misc/shift1.right index b53453c3a..fdba79fd3 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 diff --git a/shell/ash_test/ash-misc/tickquote1.right b/shell/ash_test/ash-misc/tickquote1.right index 2e661bfe3..e55a31c2d 100644 --- a/shell/ash_test/ash-misc/tickquote1.right +++ b/shell/ash_test/ash-misc/tickquote1.right @@ -1 +1 @@ -./tickquote1.tests: line 1: syntax error: unterminated quoted string +./tickquote1.tests: line 0: syntax error: unterminated quoted string |