mirror of https://github.com/mirror/busybox.git
shells: fix var_LINENO1.tests false positive, add it to ash tests too
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>pull/2/merge
parent
a94eeb0b42
commit
32e183e63e
|
@ -0,0 +1,8 @@
|
|||
2:2
|
||||
3:3
|
||||
4:4
|
||||
5:5
|
||||
2:2
|
||||
3:3
|
||||
4:4
|
||||
5:5
|
|
@ -0,0 +1,6 @@
|
|||
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
|
|
@ -1,4 +1,4 @@
|
|||
env | grep LINENO
|
||||
env | grep ^LINENO
|
||||
echo 2:$LINENO
|
||||
echo 3:$LINENO >&2 \
|
||||
| { sleep 0.1; echo 4:$LINENO; }
|
||||
|
|
Loading…
Reference in New Issue