* tests/clock_xettime.c: New file. * tests/clock_xettime.test: New test. * tests/Makefile.am (check_PROGRAMS): Add clock_xettime. (TESTS): Add clock_xettime.test. * tests/.gitignore: Add clock_xettime.
15 lines
293 B
Bash
Executable File
15 lines
293 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check clock_getres, clock_gettime, and clock_settime syscalls decoding.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog > /dev/null
|
|
OUT="$LOG.out"
|
|
syscalls=clock_getres,clock_gettime,clock_settime
|
|
run_strace -a36 -e trace=$syscalls $args > "$OUT"
|
|
match_diff "$OUT" "$LOG"
|
|
rm -f "$OUT"
|
|
|
|
exit 0
|