busybox/shell/ash_test/ash-vars/var_LINENO1.tests
Denys Vlasenko 32e183e63e shells: fix var_LINENO1.tests false positive, add it to ash tests too
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-03-31 20:31:13 +02:00

7 lines
147 B
Plaintext
Executable File

env | grep ^LINENO
echo 2:$LINENO
echo 3:$LINENO >&2 \
| { sleep 0.1; echo 4:$LINENO; }
echo 5:$LINENO
test "$1" || . ./var_LINENO1.tests norepeat