mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-24 02:23:27 +08:00
e02b9c9f65
That's a simpler way to deal with the Perl interpreter not being in /usr/bin.
15 lines
525 B
Bash
Executable File
15 lines
525 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# The "verbose" Link Management Protocol test involves a float calculation that
|
|
# may produce a slightly different result depending on the architecture and the
|
|
# compiler (see GitHub issue #333). The reference output was produced using a
|
|
# GCC build and must reproduce correctly on any other GCC build regardless of
|
|
# the architecture.
|
|
|
|
if grep '^CC = .*gcc' ../Makefile >/dev/null
|
|
then
|
|
./TESTonce lmp-v lmp.pcap lmp-v.out '-t -T lmp -v'
|
|
else
|
|
printf ' %-30s: TEST SKIPPED (compiler is not GCC)\n' 'lmp-v'
|
|
fi
|