]> git.gsnw.org Git - fping.git/commitdiff
travis fix
authorDavid Schweikert <dws@open.ch>
Tue, 30 Sep 2014 11:22:58 +0000 (21:22 +1000)
committerDavid Schweikert <dws@open.ch>
Tue, 30 Sep 2014 11:22:58 +0000 (21:22 +1000)
ci/build-2-install.sh

index 41c7d4b6f4eee734f33eed70042fab482fa8fbfb..a27794f92fedadfea11651dfadfdaa2ba0367ce1 100755 (executable)
@@ -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