busybox/shell/hush_test/hush-vars/var_LINENO3.tests
Denys Vlasenko 64aa86b720 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>
2021-09-07 18:16:45 +02:00

3 lines
98 B
Plaintext
Executable File

$THIS_SH -c 'echo "LINENO starts from $LINENO in -c"
echo "and increments on next line: $LINENO"'