diff options
author | Dario Lombardo <lomato@gmail.com> | 2019-05-13 09:06:35 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2019-05-16 20:29:59 +0000 |
commit | bb00f37f51cf36c6fb4bd3bd6ac68b98bb048841 (patch) | |
tree | 65f8976988a0307e9cd2763de9e70623b79e4c0a /.gitlab-ci.yml | |
parent | 731b2638534da3f2299c1c90bc23e99112453172 (diff) |
gitlab-ci: run setcap on dumpcap.
This enables capture privileges for 'user' that is used in the tests.
travis.yml has been changed as well to reflect the setcap command in
the docs.
Change-Id: I0584e0df417112b1774b86ef8b28121799efe137
Reviewed-on: https://code.wireshark.org/review/33182
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e7c8c4924e..229be5efe4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,7 @@ - ninja - ninja test-programs - chown -R user . + - if [ -f run/dumpcap ]; then setcap cap_net_raw,cap_net_admin+eip run/dumpcap; fi - su user -c pytest-3 .build-rpm: &build-rpm |