diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:41:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:41:34 +0000 |
commit | f7b5fc832288fae3f5a0f3d24b96782252aabbaf (patch) | |
tree | 711bd849ca1348d3c97dc9bbbd157b80e9c410aa /tests/isis-seg-fault-1-v.tests | |
parent | Initial commit. (diff) | |
download | tcpdump-f7b5fc832288fae3f5a0f3d24b96782252aabbaf.tar.xz tcpdump-f7b5fc832288fae3f5a0f3d24b96782252aabbaf.zip |
Adding upstream version 4.99.3.upstream/4.99.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/isis-seg-fault-1-v.tests')
-rw-r--r-- | tests/isis-seg-fault-1-v.tests | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/isis-seg-fault-1-v.tests b/tests/isis-seg-fault-1-v.tests new file mode 100644 index 0000000..6d4eec5 --- /dev/null +++ b/tests/isis-seg-fault-1-v.tests @@ -0,0 +1,23 @@ +# -*- perl -*- + +# This "verbose" ISIS protocol test involves a float calculation that +# may produce a slightly different result depending on the compiler and +# the version of the instruction set for which it's generating code (see +# GitHub issue #333 for another example). The test is done only if we have +# a floating-point type, as reported by "./tcpdump --fp-type", of FPTYPE1. +# +# XXX - this works on my 32-bit x86 Linux virtual machine, so do this +# regardless of the floating-point type, so always do this. If it +# fails on some platform, we'll need to tweak tcpdump and tests/TESTrun +# to check for *that* floating-point difference. + +$testlist = [ + { + name => 'isis-seg-fault-1-v', + input => 'isis-seg-fault-1.pcapng', + output => 'isis-seg-fault-1-v.out', + args => '-v' + }, + ]; + +1; |