ash: add another testsuite entry ("leaking variables" bug)

This commit is contained in:
Denis Vlasenko 2008-04-13 17:45:56 +00:00
parent 24f824edb3
commit 6d1ebecf65
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,2 @@
should be empty: ''
should be empty: ''

View File

@ -0,0 +1,9 @@
# This currently fails with CONFIG_FEATURE_SH_NOFORK=y
VAR=''
VAR=qwe true
echo "should be empty: '$VAR'"
# This fails (always)
VAR=''
VAR=qwe exec 2>&1
echo "should be empty: '$VAR'"