strace/tests/inotify.test
Eugene Syromyatnikov 8b0f48ee06 tests: check decoding of inotify family syscalls
* tests/inotify.c: New file.
* tests/inotify_init1.c: Likewise.
* tests/inotify.test: New test.
* tests/inotify_init1.test: Likewise.
* tests/.gitignore: Add inotify and inotify_init1.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add inotify.test and inotify_init1.test.
2016-10-27 23:31:44 +00:00

7 lines
176 B
Bash
Executable File

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