Dmitry V. Levin
eb5c233d99
* net.c (print_icmp_filter): Print icmp_filter for any positive length. * tests/net-icmp_filter.c: New file. * tests/net-icmp_filter.test: New test. * tests/.gitignore: Add net-icmp_filter. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add net-icmp_filter.test.
7 lines
122 B
Bash
Executable File
7 lines
122 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check decoding of ICMP_FILTER.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
run_strace_match_diff -e trace=getsockopt,setsockopt
|