]> The Tcpdump Group git mirrors - tcpdump/commitdiff
the bugfix missing from the previous commit
authorDenis Ovsienko <[email protected]>
Mon, 20 Jan 2014 12:06:50 +0000 (16:06 +0400)
committerDenis Ovsienko <[email protected]>
Mon, 20 Jan 2014 12:07:31 +0000 (16:07 +0400)
tests/lmp-v.sh

index ac523264b5d1969f61308281376ebaace1620e32..0c14291a18170180a6e559dc4c44ab52ad8d1bd2 100755 (executable)
@@ -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'