strace/tests/netlink_protocol.test
Fabien Siron 1b1baea407 tests: check decoding of netlink protocol
* tests/netlink_protocol.test: New test.
* tests/netlink_protocol.c: New file.
* tests/.gitignore: Add netlink_protocol.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add netlink_protocol.test.
2016-07-07 09:48:32 +00:00

12 lines
242 B
Bash
Executable File

#!/bin/sh
# Check decoding of netlink protocol.
. "${srcdir=.}/init.sh"
# getfdproto is implemented using /proc/self/fd
[ -d /proc/self/fd/ ] ||
framework_skip_ '/proc/self/fd/ is not available'
run_strace_match_diff -e trace=network