summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/posix/exec_sigmask.out1
-rw-r--r--tests/posix/exec_sigmask.sh4
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/posix/exec_sigmask.out b/tests/posix/exec_sigmask.out
new file mode 100644
index 0000000..bb646f3
--- /dev/null
+++ b/tests/posix/exec_sigmask.out
@@ -0,0 +1 @@
+SigBlk: 0000000000000000
diff --git a/tests/posix/exec_sigmask.sh b/tests/posix/exec_sigmask.sh
new file mode 100644
index 0000000..e01c05e
--- /dev/null
+++ b/tests/posix/exec_sigmask.sh
@@ -0,0 +1,4 @@
+# Regression test: restore the signal mask after fork()
+
+test "$UNAME" = "Linux" || skip
+bfs_diff /proc/self/status -exec grep '^SigBlk:' {} +