Dmitry V. Levin
49faae958a
* signal.c (SYS_FUNC(rt_sigtimedwait)): Decode return value. * tests/rt_sigtimedwait.c: New file. * tests/rt_sigtimedwait.test: New test. * tests/.gitignore: Add rt_sigtimedwait. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add rt_sigtimedwait.test.
12 lines
202 B
Bash
Executable File
12 lines
202 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check rt_sigtimedwait syscall decoding.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog > /dev/null
|
|
OUT="$LOG.out"
|
|
run_strace -a38 -ert_sigtimedwait $args > "$OUT"
|
|
match_diff "$LOG" "$OUT"
|
|
rm -f "$OUT"
|