Dmitry V. Levin
f09b7c4984
* tests/rt_sigprocmask.c: New file. * tests/rt_sigprocmask.test: New test. * tests/.gitignore: Add rt_sigprocmask. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add rt_sigprocmask.test.
12 lines
195 B
Bash
Executable File
12 lines
195 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check rt_sigprocmask syscall decoding.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog > /dev/null
|
|
OUT="$LOG.out"
|
|
run_strace -ert_sigprocmask $args > "$OUT"
|
|
match_diff "$LOG" "$OUT"
|
|
rm -f "$OUT"
|