summaryrefslogtreecommitdiffhomepage
path: root/shell/ash_test/ash-signals/signal_read2.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-24 19:42:46 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-24 19:42:46 +0200
commit8d2191c6aedf60c29dc0a6ee8c452fee7e460ee7 (patch)
tree245e7bef11c2bdfcf770d8db3e52d9819582e855 /shell/ash_test/ash-signals/signal_read2.tests
parentca50caacad8354fe97eb0da23075521156c0c0d6 (diff)
ash: copy three tests from hush_test/hush-signals/*
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-signals/signal_read2.tests')
-rwxr-xr-xshell/ash_test/ash-signals/signal_read2.tests7
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/ash_test/ash-signals/signal_read2.tests b/shell/ash_test/ash-signals/signal_read2.tests
new file mode 100755
index 000000000..eab5b9b5b
--- /dev/null
+++ b/shell/ash_test/ash-signals/signal_read2.tests
@@ -0,0 +1,7 @@
+$THIS_SH -c '
+(sleep 1; kill -HUP $$) &
+while true; do
+ read ignored
+done
+'
+echo "Done:$?"