diff options
Diffstat (limited to 'shell/hush_test/hush-bugs/parse_err.tests')
-rwxr-xr-x | shell/hush_test/hush-bugs/parse_err.tests | 3 |
1 files changed, 3 insertions, 0 deletions
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 000000000..dd7d9ad64 --- /dev/null +++ b/shell/hush_test/hush-bugs/parse_err.tests | |||
@@ -0,0 +1,3 @@ | |||
1 | # Bug happens only if there is no space in "}&" | ||
2 | { trap "echo got TERM" TERM; sleep 3; }& sleep 1; kill $!; wait | ||
3 | echo Done: $? | ||