1b1baea407
* 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.
12 lines
242 B
Bash
Executable File
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
|