summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rwxr-xr-xshell/hush_test/hush-z_slow/leak_all1.tests10
1 files changed, 8 insertions, 2 deletions
diff --git a/shell/hush_test/hush-z_slow/leak_all1.tests b/shell/hush_test/hush-z_slow/leak_all1.tests
index 6834d9a..b26e2df 100755
--- a/shell/hush_test/hush-z_slow/leak_all1.tests
+++ b/shell/hush_test/hush-z_slow/leak_all1.tests
@@ -17,13 +17,16 @@ while test $i != 99; do
: << HERE >/dev/null; true <<HERE
Hello builtin :
HERE
-Hello true
+Hello $i true
HERE
elif false; then
true; echo Doesnt run
else
{ true; }; echo Doesnt run too >>/foo/bar
fi
+ { : /bin/*; }
+ set -- par1_$i par2_$i par3_$i par4_$i
+ trap "echo trap$i" WINCH
: $((i++))
done
@@ -42,13 +45,16 @@ while test $i != 99; do
: << HERE >/dev/null; true <<HERE
Hello builtin :
HERE
-Hello true
+Hello $i true
HERE
elif false; then
true; echo Doesnt run
else
{ true; }; echo Doesnt run too >>/foo/bar
fi
+ { : /bin/*; }
+ set -- par1_$i par2_$i par3_$i par4_$i
+ trap "echo trap$i" WINCH
: $((i++))
done