summaryrefslogtreecommitdiffstats
path: root/tests/lmp-v.tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:41:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:41:34 +0000
commitf7b5fc832288fae3f5a0f3d24b96782252aabbaf (patch)
tree711bd849ca1348d3c97dc9bbbd157b80e9c410aa /tests/lmp-v.tests
parentInitial commit. (diff)
downloadtcpdump-upstream.tar.xz
tcpdump-upstream.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/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;