aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-08 16:59:24 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-08 16:59:24 +0000
commitffe6f8085170ed6a9780906374ca781e9c4291cb (patch)
treed3c23d5cdb2accd33b0d834329dcc47b172a872a /shell
parent14725f82b61ecae6014c86762d3f2a768d573839 (diff)
downloadbusybox-ffe6f8085170ed6a9780906374ca781e9c4291cb.tar.gz
expand leak_all1.tests
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 6834d9a64..b26e2df02 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