add two more tests which currently fail
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 17 May 2010 02:57:55 +0000 (04:57 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 17 May 2010 02:57:55 +0000 (04:57 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash_test/ash-signals/signal6.right [new file with mode: 0644]
shell/ash_test/ash-signals/signal6.tests [new file with mode: 0755]
shell/hush_test/hush-bugs/parse_err.right [new file with mode: 0644]
shell/hush_test/hush-bugs/parse_err.tests [new file with mode: 0755]

diff --git a/shell/ash_test/ash-signals/signal6.right b/shell/ash_test/ash-signals/signal6.right
new file mode 100644 (file)
index 0000000..df4d930
--- /dev/null
@@ -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 (executable)
index 0000000..ffeded2
--- /dev/null
@@ -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 (file)
index 0000000..df4d930
--- /dev/null
@@ -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 (executable)
index 0000000..dd7d9ad
--- /dev/null
@@ -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: $?