strace/tests/xetitimer.test
Dmitry V. Levin 1e92920f81 tests: check decoding of getitimer and setitimer corner cases
* tests/sched_xetattr.c: Include <unistd.h> and <asm/unistd.h>.
(main): Check that pointer and integer arguments of getitimer
and setitimer syscalls are decoded properly.
* tests/xetitimer.test: Add -a option.
2017-03-14 22:35:13 +00:00

7 lines
146 B
Bash
Executable File

#!/bin/sh
# Check decoding of setitimer and getitimer syscalls.
. "${srcdir=.}/init.sh"
run_strace_match_diff -a29 -e trace=setitimer,getitimer