aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-12-08 21:33:38 +0000
committerLRN <lrn1986@gmail.com>2013-12-08 21:33:38 +0000
commit12ea7cbb59260ee3b48b0f82a43ff96657e02ee8 (patch)
tree0dbdbb336f2486d744464f5c852946b9dac6c111 /src/gns
parent0339fb1c3eb6daeda7f1904815d8eb0101203567 (diff)
downloadgnunet-12ea7cbb59260ee3b48b0f82a43ff96657e02ee8.tar.gz
gnunet-12ea7cbb59260ee3b48b0f82a43ff96657e02ee8.zip
Skip tests properly
Diffstat (limited to 'src/gns')
-rwxr-xr-xsrc/gns/test_gns_gns2dns_lookup.sh2
-rwxr-xr-xsrc/gns/test_gns_soa_lookup.sh2
-rwxr-xr-xsrc/gns/test_gnunet_gns.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gns/test_gns_gns2dns_lookup.sh b/src/gns/test_gns_gns2dns_lookup.sh
index 96505e9e2..8f3341b07 100755
--- a/src/gns/test_gns_gns2dns_lookup.sh
+++ b/src/gns/test_gns_gns2dns_lookup.sh
@@ -33,7 +33,7 @@ TEST_DOMAIN_ALT2="uk.${TEST_RECORD_NAME}.gnu"
33if ! nslookup gnunet.org $TEST_IP_GNS2DNS &> /dev/null 33if ! nslookup gnunet.org $TEST_IP_GNS2DNS &> /dev/null
34then 34then
35 echo "Cannot reach DNS, skipping test" 35 echo "Cannot reach DNS, skipping test"
36 exit 0 36 exit 77
37fi 37fi
38 38
39# helper record for pointing to the DNS resolver 39# helper record for pointing to the DNS resolver
diff --git a/src/gns/test_gns_soa_lookup.sh b/src/gns/test_gns_soa_lookup.sh
index 54612488f..bc54dee37 100755
--- a/src/gns/test_gns_soa_lookup.sh
+++ b/src/gns/test_gns_soa_lookup.sh
@@ -23,7 +23,7 @@ TEST_RECORD_GNS2DNS="gnunet.org"
23if ! nslookup $TEST_RECORD_GNS2DNS $TEST_IP_GNS2DNS &> /dev/null 23if ! nslookup $TEST_RECORD_GNS2DNS $TEST_IP_GNS2DNS &> /dev/null
24then 24then
25 echo "Cannot reach DNS, skipping test" 25 echo "Cannot reach DNS, skipping test"
26 exit 0 26 exit 77
27fi 27fi
28 28
29gnunet-arm -s -c test_gns_lookup.conf 29gnunet-arm -s -c test_gns_lookup.conf
diff --git a/src/gns/test_gnunet_gns.sh b/src/gns/test_gnunet_gns.sh
index a40debe79..749d80b84 100755
--- a/src/gns/test_gnunet_gns.sh
+++ b/src/gns/test_gnunet_gns.sh
@@ -17,7 +17,7 @@ ME=`whoami`
17if [ "$ME" != "root" ] 17if [ "$ME" != "root" ]
18then 18then
19 echo "This test only works if run as root. Skipping." 19 echo "This test only works if run as root. Skipping."
20 exit 0 20 exit 77
21fi 21fi
22export PATH=".:$PATH" 22export PATH=".:$PATH"
23gnunet-service-gns -c gns.conf & 23gnunet-service-gns -c gns.conf &