diff options
author | LRN <lrn1986@gmail.com> | 2013-12-08 21:33:38 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-12-08 21:33:38 +0000 |
commit | 12ea7cbb59260ee3b48b0f82a43ff96657e02ee8 (patch) | |
tree | 0dbdbb336f2486d744464f5c852946b9dac6c111 /src/gns | |
parent | 0339fb1c3eb6daeda7f1904815d8eb0101203567 (diff) | |
download | gnunet-12ea7cbb59260ee3b48b0f82a43ff96657e02ee8.tar.gz gnunet-12ea7cbb59260ee3b48b0f82a43ff96657e02ee8.zip |
Skip tests properly
Diffstat (limited to 'src/gns')
-rwxr-xr-x | src/gns/test_gns_gns2dns_lookup.sh | 2 | ||||
-rwxr-xr-x | src/gns/test_gns_soa_lookup.sh | 2 | ||||
-rwxr-xr-x | src/gns/test_gnunet_gns.sh | 2 |
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" | |||
33 | if ! nslookup gnunet.org $TEST_IP_GNS2DNS &> /dev/null | 33 | if ! nslookup gnunet.org $TEST_IP_GNS2DNS &> /dev/null |
34 | then | 34 | then |
35 | echo "Cannot reach DNS, skipping test" | 35 | echo "Cannot reach DNS, skipping test" |
36 | exit 0 | 36 | exit 77 |
37 | fi | 37 | fi |
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" | |||
23 | if ! nslookup $TEST_RECORD_GNS2DNS $TEST_IP_GNS2DNS &> /dev/null | 23 | if ! nslookup $TEST_RECORD_GNS2DNS $TEST_IP_GNS2DNS &> /dev/null |
24 | then | 24 | then |
25 | echo "Cannot reach DNS, skipping test" | 25 | echo "Cannot reach DNS, skipping test" |
26 | exit 0 | 26 | exit 77 |
27 | fi | 27 | fi |
28 | 28 | ||
29 | gnunet-arm -s -c test_gns_lookup.conf | 29 | gnunet-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` | |||
17 | if [ "$ME" != "root" ] | 17 | if [ "$ME" != "root" ] |
18 | then | 18 | then |
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 |
21 | fi | 21 | fi |
22 | export PATH=".:$PATH" | 22 | export PATH=".:$PATH" |
23 | gnunet-service-gns -c gns.conf & | 23 | gnunet-service-gns -c gns.conf & |