mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
ash: add another testsuite entry ("leaking variables" bug)
This commit is contained in:
parent
24f824edb3
commit
6d1ebecf65
2
shell/ash_test/ash-vars/var_leak.right
Normal file
2
shell/ash_test/ash-vars/var_leak.right
Normal file
@ -0,0 +1,2 @@
|
||||
should be empty: ''
|
||||
should be empty: ''
|
9
shell/ash_test/ash-vars/var_leak.tests
Executable file
9
shell/ash_test/ash-vars/var_leak.tests
Executable 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'"
|
Loading…
Reference in New Issue
Block a user