busybox/shell/ash_test/ash-vars/var_leak.tests

10 lines
185 B
Plaintext
Executable File

# 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'"