summaryrefslogtreecommitdiffstats
path: root/tests/lmp-v.tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:13:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:13:01 +0000
commit7adcb5b605cc1328a3084c334f4697ec9771936c (patch)
tree03e681bfda053978ba896745828e09cb056ad156 /tests/lmp-v.tests
parentInitial commit. (diff)
downloadtcpdump-7adcb5b605cc1328a3084c334f4697ec9771936c.tar.xz
tcpdump-7adcb5b605cc1328a3084c334f4697ec9771936c.zip
Adding upstream version 4.99.4.upstream/4.99.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/lmp-v.tests')
-rw-r--r--tests/lmp-v.tests26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/lmp-v.tests b/tests/lmp-v.tests
new file mode 100644
index 0000000..c501a85
--- /dev/null
+++ b/tests/lmp-v.tests
@@ -0,0 +1,26 @@
+# -*- perl -*-
+
+# The "verbose" Link Management 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). The test is done with an output file that depends on the
+# floating-point type, as reported by "./tcpdump --fp-type".
+
+$testlist = [
+ {
+ config_set => 'HAVE_FPTYPE1',
+ name => 'lmp-v-fptype1',
+ input => 'lmp.pcap',
+ output => 'lmp-v-fptype1.out',
+ args => '-T lmp -v'
+ },
+ {
+ config_set => 'HAVE_FPTYPE2',
+ name => 'lmp-v-fptype2',
+ input => 'lmp.pcap',
+ output => 'lmp-v-fptype2.out',
+ args => '-T lmp -v'
+ },
+ ];
+
+1;