strace/tests/bpf.test
Dmitry V. Levin bf4e76e4e7 tests: check decoding of bpf corner cases
* tests/bpf.c (bogus_bpf): New function.
(BOGUS_BPF): New macro.
(main): Use them.
* tests/bpf.test: Add -a option.
2017-01-31 19:38:45 +00:00

7 lines
93 B
Bash
Executable File

#!/bin/sh
# Check bpf syscall decoding.
. "${srcdir=.}/init.sh"
run_strace_match_diff -a20