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,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
|
||||
|
||||
Reference in New Issue
Block a user