From 0f01b00d742f92061cbbd9e95d1cd0368c4d2a4c Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 17 May 2010 04:57:55 +0200 Subject: add two more tests which currently fail Signed-off-by: Denys Vlasenko --- shell/hush_test/hush-bugs/parse_err.right | 2 ++ shell/hush_test/hush-bugs/parse_err.tests | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 shell/hush_test/hush-bugs/parse_err.right create mode 100755 shell/hush_test/hush-bugs/parse_err.tests (limited to 'shell/hush_test/hush-bugs') 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: $? -- cgit v1.1