travis fix

pull/70/head
David Schweikert 10 years ago
parent 21d568457f
commit 99e498d8db

@ -11,13 +11,19 @@ fi
autoreconf -i autoreconf -i
./configure --enable-ipv4 --enable-ipv6 --prefix=/opt/fping ./configure --enable-ipv4 --enable-ipv6 --prefix=/opt/fping
make CFLAGS="-g -fprofile-arcs -ftest-coverage" make CFLAGS="-g -fprofile-arcs -ftest-coverage"
pwd ## setcap currently doesn't worn anymore on travis-ci
df -k . #sudo setcap cap_net_raw+ep src/fping
which setcap #sudo setcap cap_net_raw+ep src/fping6
uname -a ## setcap debugging:
mount #pwd
sudo setcap cap_net_raw+ep src/fping #df -k .
sudo setcap cap_net_raw+ep src/fping6 #which setcap
#uname -a
#mount
#
#sudo apt-get install strace
#sudo strace setcap cap_net_raw+ep src/fping
sudo apt-get install strace # use setuid, since setcap is not available
sudo strace setcap cap_net_raw+ep src/fping chmod +s src/fping
chmod +s src/fping6

Loading…
Cancel
Save