]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Travis CI: Remove running capture on default interface on macOS
authorFrancois-Xavier Le Bail <[email protected]>
Sat, 19 Oct 2019 09:31:11 +0000 (11:31 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Sat, 19 Oct 2019 13:05:30 +0000 (15:05 +0200)
It's currently unreliable.

Sometimes the default interface is 'utun0' and there is no packet
to capture on it.

This change should be temporary.

.travis.yml

index 2b11f5c67cbd066c3dd266f12925fad89c01c374..798afe5cc2b12194bf5e0602825acb29c2ce60c2 100644 (file)
@@ -119,7 +119,7 @@ script:
   - ./tcpdump -D
   - sudo ./tcpdump -J
   - sudo ./tcpdump -L
-  - sudo ./tcpdump -#n -c 10
+  - if [ "$TRAVIS_OS_NAME" = linux ]; then sudo ./tcpdump -#n -c 10; fi
   - if [ "$CMAKE" = no ]; then make releasetar; fi
   - echo '$ cat Makefile [...]'; echo travis_fold:start:script.cat_makefile
   - if [ "$CMAKE" = no ]; then cat Makefile | sed -n '1,/DO NOT DELETE THIS LINE -- mkdep uses it/p'; fi