aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars/var_leak.tests
blob: 1b1123fb7bba5693f033a79d647c8764ed677eee (plain)
1
2
3
4
5
6
7
8
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'"