]> The Tcpdump Group git mirrors - libpcap/commitdiff
Add a libpcap test file.
authorGuy Harris <[email protected]>
Wed, 7 Feb 2018 00:49:30 +0000 (16:49 -0800)
committerGuy Harris <[email protected]>
Wed, 7 Feb 2018 00:49:30 +0000 (16:49 -0800)
This was a tcpdump test file, which happened to have a too-long option
in the SHB; libpcap currently ignores options, so it doesn't currently
have a problem with it, but if we add APIs to more fully support pcapng,
a program that looks at SHB options will have to get an error indication
from libpcap.

Makefile.in
tests/shb-option-too-long.pcapng [new file with mode: 0644]

index e1c2c918a7c87d4ad9d5710a24f9e653db56b199..3db8120f9320541a5ad5713706e4777fb74b749b 100644 (file)
@@ -375,6 +375,7 @@ EXTRA_DIST = \
        testprogs/threadsignaltest.c \
        testprogs/unix.h \
        testprogs/valgrindtest.c \
+       tests/shb-option-too-long.pcapng \
        Win32/Prj/wpcap.sln \
        Win32/Prj/wpcap.vcxproj \
        Win32/Prj/wpcap.vcxproj.filters
diff --git a/tests/shb-option-too-long.pcapng b/tests/shb-option-too-long.pcapng
new file mode 100644 (file)
index 0000000..f773974
Binary files /dev/null and b/tests/shb-option-too-long.pcapng differ