]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Travis CI: Add "./tcpdump -L" and "./tcpdump -#n -c 10" commands
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 24 Apr 2019 10:03:59 +0000 (12:03 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 24 Apr 2019 13:36:21 +0000 (15:36 +0200)
They are executed with sudo.
Execute "./tcpdump -J" with sudo.

.travis.yml

index 5937b1f8103e462b0b4cb274e72902408ac44288..8bf1253cf7cdc91f025d2c7cdeb46c7bdb920bd2 100644 (file)
@@ -105,10 +105,12 @@ script:
   - PATH=$PATH make install
   - echo -n travis_fold:end:script.make_install
   - if [ "$CMAKE" = no ]; then make check; fi
-  - ./tcpdump -D
-  - ./tcpdump -J
   - ./tcpdump --version
   - ./tcpdump -h
+  - ./tcpdump -D
+  - sudo ./tcpdump -J
+  - sudo ./tcpdump -L
+  - sudo ./tcpdump -#n -c 10
   - 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