aboutsummaryrefslogtreecommitdiff
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 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
17 : << HERE >/dev/null; true <<HERE 17 : << HERE >/dev/null; true <<HERE
18Hello builtin : 18Hello builtin :
19HERE 19HERE
20Hello true 20Hello $i true
21HERE 21HERE
22 elif false; then 22 elif false; then
23 true; echo Doesnt run 23 true; echo Doesnt run
24 else 24 else
25 { true; }; echo Doesnt run too >>/foo/bar 25 { true; }; echo Doesnt run too >>/foo/bar
26 fi 26 fi
27 { : /bin/*; }
28 set -- par1_$i par2_$i par3_$i par4_$i
29 trap "echo trap$i" WINCH
27 : $((i++)) 30 : $((i++))
28done 31done
29 32
@@ -42,13 +45,16 @@ while test $i != 99; do
42 : << HERE >/dev/null; true <<HERE 45 : << HERE >/dev/null; true <<HERE
43Hello builtin : 46Hello builtin :
44HERE 47HERE
45Hello true 48Hello $i true
46HERE 49HERE
47 elif false; then 50 elif false; then
48 true; echo Doesnt run 51 true; echo Doesnt run
49 else 52 else
50 { true; }; echo Doesnt run too >>/foo/bar 53 { true; }; echo Doesnt run too >>/foo/bar
51 fi 54 fi
55 { : /bin/*; }
56 set -- par1_$i par2_$i par3_$i par4_$i
57 trap "echo trap$i" WINCH
52 : $((i++)) 58 : $((i++))
53done 59done
54 60