strace/tests/xet_robust_list.test
Dmitry V. Levin f14a8e1665 tests: convert several tests from match_grep to match_diff
* tests/sendfile.test: Use match_diff instead of match_grep.
* tests/sendfile64.test: Likewise.
* tests/time.test: Likewise.
* tests/utime.test: Likewise.
* tests/xet_robust_list.test: Likewise.
* tests/sendfile.c (main): Update match patterns for match_diff.
* tests/sendfile64.c (main): Likewise.
* tests/time.c (main): Likewise.
* tests/utime.c (main): Likewise.
* tests/xet_robust_list.c (main): Likewise.
2015-08-27 00:09:46 +00:00

14 lines
247 B
Bash
Executable File

#!/bin/sh
# Check get_robust_list and set_robust_list syscalls decoding.
. "${srcdir=.}/init.sh"
run_prog > /dev/null
OUT="$LOG.out"
run_strace -a24 -eget_robust_list,set_robust_list $args > "$OUT"
match_diff "$OUT" "$LOG"
rm -f "$OUT"
exit 0