Merge branch 'develop' into feature/unify

pull/82/head
David Schweikert 10 years ago
commit 27c91fe0d4

@ -11,13 +11,21 @@ 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
sudo chown root src/fping
sudo chown root src/fping6
sudo chmod u+s src/fping
sudo chmod u+s src/fping6

@ -2,7 +2,7 @@
use Test::Command tests => 9;
my $I_HELP = " -I if bind to a particular interface\n";
my $I_HELP = " -I if bind to a particular interface\n";
$I_HELP = '' if $^O eq 'darwin';
# fping -h

Loading…
Cancel
Save