xref: /netbsd-src/external/bsd/tcpdump/dist/tests/lmp-v.tests (revision 4439cfd0acf9c7dc90625e5cd83b2317a9ab8967)
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