xref: /aosp_15_r20/external/tcpdump/tests/isis-seg-fault-1-v.tests (revision 05b00f6010a2396e3db2409989fc67270046269f)
1# -*- perl -*-
2
3# This "verbose" ISIS protocol test involves a float calculation that
4# may produce a slightly different result depending on the compiler and
5# the version of the instruction set for which it's generating code (see
6# GitHub issue #333 for another example). The test is done only if we have
7# a floating-point type, as reported by "./tcpdump --fp-type", of FPTYPE1.
8#
9# XXX - this works on my 32-bit x86 Linux virtual machine, so do this
10# regardless of the floating-point type, so always do this.  If it
11# fails on some platform, we'll need to tweak tcpdump and tests/TESTrun
12# to check for *that* floating-point difference.
13
14$testlist = [
15    {
16        name => 'isis-seg-fault-1-v',
17        input => 'isis-seg-fault-1.pcapng',
18        output => 'isis-seg-fault-1-v.out',
19        args   => '-v'
20    },
21    ];
22
231;
24