strace/tests/timer_create.test
Dmitry V. Levin b8f0c9286a Enhance parser of struct sigevent
* print_sigevent.c (print_sigevent): Always print names
of struct_sigevent fields along with their values.
Print signal name of sigev_signo for those sigev_notify values
that require valid signal numbers.
* tests/timer_create.c: New file.
* tests/timer_create.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add timer_create.
(TESTS): Add timer_create.test.
* tests/.gitignore: Add timer_create.
2015-09-17 13:22:57 +00:00

14 lines
200 B
Bash
Executable File

#!/bin/sh
# Check timer_create syscall decoding.
. "${srcdir=.}/init.sh"
run_prog > /dev/null
OUT="$LOG.out"
run_strace -e timer_create $args > "$OUT"
match_diff "$OUT" "$LOG"
rm -f "$OUT"
exit 0