diff options
Diffstat (limited to 'src/gns/test_gns_cname_lookup.sh')
-rw-r--r-- | src/gns/test_gns_cname_lookup.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gns/test_gns_cname_lookup.sh b/src/gns/test_gns_cname_lookup.sh index 341815029..210f5f118 100644 --- a/src/gns/test_gns_cname_lookup.sh +++ b/src/gns/test_gns_cname_lookup.sh | |||
@@ -27,16 +27,17 @@ gnunet-arm -e -c test_gns_lookup.conf | |||
27 | 27 | ||
28 | if [ "$RES_CNAME" == "$TEST_IP_PLUS" ] | 28 | if [ "$RES_CNAME" == "$TEST_IP_PLUS" ] |
29 | then | 29 | then |
30 | exit 0 | 30 | echo "PASS: IP resulution from GNS" |
31 | else | 31 | else |
32 | echo "Failed to resolve to proper IP, got $RES_CNAME." | 32 | echo "FAIL: IP resolution from GNS, got $RES_CNAME." |
33 | exit 1 | 33 | exit 1 |
34 | fi | 34 | fi |
35 | 35 | ||
36 | if [ "$RES_CNAME_DNS" == "$TEST_IP_DNS" ] | 36 | if [ "$RES_CNAME_DNS" == "$TEST_IP_DNS" ] |
37 | then | 37 | then |
38 | echo "PASS: IP resulution from DNS" | ||
38 | exit 0 | 39 | exit 0 |
39 | else | 40 | else |
40 | echo "Failed to resolve to proper IP from DNS, got $RES_IP." | 41 | echo "FAIL: IP resulution from DNS, got $RES_IP." |
41 | exit 1 | 42 | exit 1 |
42 | fi | 43 | fi |