expand leak_all1.tests
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 8 Apr 2009 16:59:24 +0000 (16:59 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 8 Apr 2009 16:59:24 +0000 (16:59 -0000)
shell/hush_test/hush-z_slow/leak_all1.tests

index 6834d9a644da8b87abf964e7a0749f20b3b79e12..b26e2df024af3f7357c256dd4526d6e4fd608824 100755 (executable)
@@ -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