xref: /aosp_15_r20/external/tcpdump/tests/lmp-v.tests (revision 05b00f6010a2396e3db2409989fc67270046269f)
1# -*- perl -*-
2
3# The "verbose" Link Management Protocol test involves a float calculation that
4# may produce a slightly different result depending on the compiler and the
5# version of the instruction set for which it's generating code (see GitHub
6# issue #333). The test is done with an output file that depends on the
7# floating-point type, as reported by "./tcpdump --fp-type".
8
9$testlist = [
10    {
11        config_set => 'HAVE_FPTYPE1',
12        name => 'lmp-v-fptype1',
13        input => 'lmp.pcap',
14        output => 'lmp-v-fptype1.out',
15        args   => '-T lmp -v'
16    },
17    {
18        config_set => 'HAVE_FPTYPE2',
19        name => 'lmp-v-fptype2',
20        input => 'lmp.pcap',
21        output => 'lmp-v-fptype2.out',
22        args   => '-T lmp -v'
23    },
24    ];
25
261;
27