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>
This commit is contained in:
@@ -1 +1 @@
|
||||
SHELL: line 1: : not found
|
||||
SHELL: line 0: : not found
|
||||
|
@@ -1 +1 @@
|
||||
SHELL: line 1: -: not found
|
||||
SHELL: line 0: -: not found
|
||||
|
@@ -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
|
||||
|
@@ -1 +1 @@
|
||||
./tickquote1.tests: line 1: syntax error: unterminated quoted string
|
||||
./tickquote1.tests: line 0: syntax error: unterminated quoted string
|
||||
|
Reference in New Issue
Block a user