diff options
Diffstat (limited to 'shell/ash_test/ash-vars/var_leak.tests')
-rwxr-xr-x | shell/ash_test/ash-vars/var_leak.tests | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/shell/ash_test/ash-vars/var_leak.tests b/shell/ash_test/ash-vars/var_leak.tests index 032059295..5242e24eb 100755 --- a/shell/ash_test/ash-vars/var_leak.tests +++ b/shell/ash_test/ash-vars/var_leak.tests | |||
@@ -1,6 +1,11 @@ | |||
1 | # true is a regular builtin, varibale should not leak out of it | 1 | # cat is an external program, variable should not leak out of it. |
2 | # this currently fails with CONFIG_FEATURE_SH_NOFORK=y | 2 | # this currently fails with CONFIG_FEATURE_SH_NOFORK=y |
3 | VAR='' | 3 | VAR='' |
4 | VAR=val0 cat /dev/null | ||
5 | echo "should be empty: '$VAR'" | ||
6 | |||
7 | # true is a regular builtin, variable should not leak out of it. | ||
8 | VAR='' | ||
4 | VAR=val1 true | 9 | VAR=val1 true |
5 | echo "should be empty: '$VAR'" | 10 | echo "should be empty: '$VAR'" |
6 | 11 | ||