diff options
author | Denys Vlasenko | 2010-05-17 04:57:55 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-05-17 04:57:55 +0200 |
commit | 0f01b00d742f92061cbbd9e95d1cd0368c4d2a4c (patch) | |
tree | ae80c7c2060d5630e3a3e284cf378330bf0d1fd6 | |
parent | 7c1ed9fbdedb6cd038df11322a82ac7aea412524 (diff) | |
download | busybox-0f01b00d742f92061cbbd9e95d1cd0368c4d2a4c.zip busybox-0f01b00d742f92061cbbd9e95d1cd0368c4d2a4c.tar.gz |
add two more tests which currently fail
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/ash_test/ash-signals/signal6.right | 2 | ||||
-rwxr-xr-x | shell/ash_test/ash-signals/signal6.tests | 3 | ||||
-rw-r--r-- | shell/hush_test/hush-bugs/parse_err.right | 2 | ||||
-rwxr-xr-x | shell/hush_test/hush-bugs/parse_err.tests | 3 |
4 files changed, 10 insertions, 0 deletions
diff --git a/shell/ash_test/ash-signals/signal6.right b/shell/ash_test/ash-signals/signal6.right new file mode 100644 index 0000000..df4d930 --- /dev/null +++ b/shell/ash_test/ash-signals/signal6.right @@ -0,0 +1,2 @@ +got TERM +Done: 0 diff --git a/shell/ash_test/ash-signals/signal6.tests b/shell/ash_test/ash-signals/signal6.tests new file mode 100755 index 0000000..ffeded2 --- /dev/null +++ b/shell/ash_test/ash-signals/signal6.tests @@ -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: $? diff --git a/shell/hush_test/hush-bugs/parse_err.right b/shell/hush_test/hush-bugs/parse_err.right new file mode 100644 index 0000000..df4d930 --- /dev/null +++ b/shell/hush_test/hush-bugs/parse_err.right @@ -0,0 +1,2 @@ +got TERM +Done: 0 diff --git a/shell/hush_test/hush-bugs/parse_err.tests b/shell/hush_test/hush-bugs/parse_err.tests new file mode 100755 index 0000000..dd7d9ad --- /dev/null +++ b/shell/hush_test/hush-bugs/parse_err.tests @@ -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: $? |