X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Ftrap.right;h=b36156462d50876a105483ba3609cab86f264f49;hb=ac50fbac377e32b98d2de396f016ea81e8ee9961;hp=d1879a42a9af60d35a49ede1d8bcd07df2bacfbf;hpb=4539d736f1aff232857a854fd2a68df0c98d9f34;p=platform%2Fupstream%2Fbash.git diff --git a/tests/trap.right b/tests/trap.right index d1879a4..b361564 100644 --- a/tests/trap.right +++ b/tests/trap.right @@ -75,6 +75,24 @@ command substitution trap: 8 +[9] echo 4 4 +exit subshell 1 +current shell +exit subshell 2 +current shell +current shell +current shell +outside 1 +outside 2 +outside 3 +outside 4 +sleep 2 +wait $! +exit +in trap EXIT +sleep 2 +wait $! +exit +in trap EXIT caught a child death caught a child death caught a child death