diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-01-18 15:10:35 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-01-18 15:10:35 -0500 |
commit | 4859d498c7b80f8bc05621241fbb5c1ff7d80c83 (patch) | |
tree | 460b91913428f278c60ee5a64ace2f3046831fd7 /tests/posix/exec_sigmask.sh | |
parent | 9e16223877f624c900eb8804016afa5f3f13e385 (diff) | |
download | bfs-4859d498c7b80f8bc05621241fbb5c1ff7d80c83.tar.xz |
tests: Add a test for sigmask restoration
Diffstat (limited to 'tests/posix/exec_sigmask.sh')
-rw-r--r-- | tests/posix/exec_sigmask.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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:' {} + |