From: David Schweikert Date: Tue, 30 Sep 2014 11:22:58 +0000 (+1000) Subject: travis fix X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99e498d8db53aaee7dbba346d75ab0cb6860a025;p=fping.git travis fix --- diff --git a/ci/build-2-install.sh b/ci/build-2-install.sh index 41c7d4b..a27794f 100755 --- a/ci/build-2-install.sh +++ b/ci/build-2-install.sh @@ -11,13 +11,19 @@ fi autoreconf -i ./configure --enable-ipv4 --enable-ipv6 --prefix=/opt/fping make CFLAGS="-g -fprofile-arcs -ftest-coverage" -pwd -df -k . -which setcap -uname -a -mount -sudo setcap cap_net_raw+ep src/fping -sudo setcap cap_net_raw+ep src/fping6 +## setcap currently doesn't worn anymore on travis-ci +#sudo setcap cap_net_raw+ep src/fping +#sudo setcap cap_net_raw+ep src/fping6 +## setcap debugging: +#pwd +#df -k . +#which setcap +#uname -a +#mount +# +#sudo apt-get install strace +#sudo strace setcap cap_net_raw+ep src/fping -sudo apt-get install strace -sudo strace setcap cap_net_raw+ep src/fping +# use setuid, since setcap is not available +chmod +s src/fping +chmod +s src/fping6