strace/tests/swap.test
Fei Jie 93faa4cc88 tests: add swap.test
* tests/swap.c: New file.
* tests/swap.test: New test.
* tests/.gitignore: Add swap.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add swap.test.
2016-04-06 06:18:50 +00:00

7 lines
133 B
Bash
Executable File

#!/bin/sh
# Check swapon and swapoff syscalls decoding.
. "${srcdir=.}/init.sh"
run_strace_match_diff -a23 -e trace=swapon,swapoff