diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:13:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:13:01 +0000 |
commit | 7adcb5b605cc1328a3084c334f4697ec9771936c (patch) | |
tree | 03e681bfda053978ba896745828e09cb056ad156 /tests/isis-seg-fault-1-v.tests | |
parent | Initial commit. (diff) | |
download | tcpdump-7adcb5b605cc1328a3084c334f4697ec9771936c.tar.xz tcpdump-7adcb5b605cc1328a3084c334f4697ec9771936c.zip |
Adding upstream version 4.99.4.upstream/4.99.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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; |