android_mt6572_jiabo/external/strace/tests/clock_xettime.test
2025-09-05 16:56:03 +08:00

14 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 "$LOG" "$OUT"
rm -f "$OUT"
exit 0