
For now, printing of Sun RPC requests is disabled because we do not yet have the RPC header files. This should affect basically noone, as we do not have any RPC-based programs yet, for the same reason. Change-Id: Ie7818faaaacdc104d8b2c37a68866b4ce18247d6
20 lines
763 B
Bash
Executable File
20 lines
763 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.
|
|
|
|
# A Windows build may have no file named Makefile and also a version of grep
|
|
# that won't return an error when the file does not exist. Work around.
|
|
if [ ! -f ../Makefile ]
|
|
then
|
|
printf ' %-30s: TEST SKIPPED (no Makefile)\n' 'lmp-v'
|
|
elif 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
|