add two more tests which currently fail

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-05-17 04:57:55 +02:00
parent 7c1ed9fbde
commit 0f01b00d74
4 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,2 @@
got TERM
Done: 0

View File

@ -0,0 +1,3 @@
# Bug: TERM does not trigger in the child
{ trap "echo got TERM" TERM; sleep 3; }& sleep 1; kill $!; wait
echo Done: $?

View File

@ -0,0 +1,2 @@
got TERM
Done: 0

View File

@ -0,0 +1,3 @@
# Bug happens only if there is no space in "}&"
{ trap "echo got TERM" TERM; sleep 3; }& sleep 1; kill $!; wait
echo Done: $?