[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36640 - gnunet/src/dns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36640 - gnunet/src/dns |
Date: |
Tue, 3 Nov 2015 23:56:54 +0100 |
Author: grothoff
Date: 2015-11-03 23:56:54 +0100 (Tue, 03 Nov 2015)
New Revision: 36640
Modified:
gnunet/src/dns/test_gnunet_dns.sh
Log:
-properly say if test was skipped
Modified: gnunet/src/dns/test_gnunet_dns.sh
===================================================================
--- gnunet/src/dns/test_gnunet_dns.sh 2015-11-03 22:42:06 UTC (rev 36639)
+++ gnunet/src/dns/test_gnunet_dns.sh 2015-11-03 22:56:54 UTC (rev 36640)
@@ -4,32 +4,32 @@
if [ "$ME" != "root" ]
then
echo "This test only works if run as root. Skipping."
- exit 0
+ exit 77
fi
if ! which sudo > /dev/null
then
echo "This test requires sudo. Skipping."
- exit 0
+ exit 77
fi
if [ ! -x `which sudo` ]
then
echo "This test requires sudo. Skipping."
- exit 0
+ exit 77
fi
if ! which nslookup > /dev/null
then
echo "This test requires nslookup. Skipping."
- exit 0
+ exit 77
fi
if [ ! -x `which nslookup` ]
then
echo "This test requires nslookup. Skipping."
- exit 0
+ exit 77
fi
if ! iptables -t mangle --list &> /dev/null
then
echo "This test requires iptables with 'mangle' support. Skipping."
- exit 0
+ exit 77
fi
export PATH=".:$PATH"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36640 - gnunet/src/dns,
gnunet <=