summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2014-01-20 16:06:50 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-01-20 16:07:31 +0400
commitf4252a1ac2b7f8a1f588e2b749d8f5c7ca1d5cbf (patch)
treef6c4c700c9c509511a275910f4a84238dabf1927 /tests
parent9ac4b762ef660994936dfd1136210bbd9790d7fc (diff)
downloadtcpdump-f4252a1ac2b7f8a1f588e2b749d8f5c7ca1d5cbf.tar.gz
the bugfix missing from the previous commit
Diffstat (limited to 'tests')
-rwxr-xr-xtests/lmp-v.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/lmp-v.sh b/tests/lmp-v.sh
index ac523264..0c14291a 100755
--- a/tests/lmp-v.sh
+++ b/tests/lmp-v.sh
@@ -6,10 +6,9 @@
# GCC build and must reproduce correctly on any other GCC build regardless of
# the architecture.
-if ! grep -qe '^CC = gcc$' ../Makefile
+if grep -qe '^CC = gcc$' ../Makefile
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'
- exit 0
fi
-
-./TESTonce lmp-v lmp.pcap lmp-v.out '-t -T lmp -v'