strace/tests/xet_robust_list.test
Dmitry V. Levin 41b9facc2a tests: add a test for get_robust_list and set_robust_list decoding
* tests/xet_robust_list.c: New file.
* tests/xet_robust_list.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add xet_robust_list.
(TESTS): Add xet_robust_list.test.
* tests/.gitignore: Add xet_robust_list.
2015-08-18 20:28:54 +00:00

14 lines
242 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 -eget_robust_list,set_robust_list $args > "$OUT"
match_grep "$LOG" "$OUT"
rm -f "$OUT"
exit 0