aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-signals/sigquit_exec.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-07-16 18:33:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-07-16 18:33:55 +0200
commite5814a5a42f40274aaadc1187680ffe5c4632c0e (patch)
tree4f0b282b781e4e2da2a02b4171b8d282ad4511b8 /shell/ash_test/ash-signals/sigquit_exec.tests
parentca003385f1e32646c249dfcd3717afbe7535dcec (diff)
downloadbusybox-e5814a5a42f40274aaadc1187680ffe5c4632c0e.tar.gz
ash: do not leave SIGQUIT ignored on "exec CMD"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-signals/sigquit_exec.tests')
-rwxr-xr-xshell/ash_test/ash-signals/sigquit_exec.tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ash_test/ash-signals/sigquit_exec.tests b/shell/ash_test/ash-signals/sigquit_exec.tests
new file mode 100755
index 000000000..24bda6921
--- /dev/null
+++ b/shell/ash_test/ash-signals/sigquit_exec.tests
@@ -0,0 +1,4 @@
+# Should show no masked signals in both cases.
+# We had a bug where SIGQUIT was masked on exec.
+grep SigIgn: /proc/self/status
+exec grep SigIgn: /proc/self/status