aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_cname_lookup.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-25 12:28:45 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-25 12:28:45 +0000
commit6dcaf1efb8eb764eaf9e707ce8f0dfcd3211a3ef (patch)
tree1b5e57a6fdf876401ac2fb5ea6e6850fff793fff /src/gns/test_gns_cname_lookup.sh
parent57a1b85dce167d740f50f3078e47d5a1ac51e5d8 (diff)
downloadgnunet-6dcaf1efb8eb764eaf9e707ce8f0dfcd3211a3ef.tar.gz
gnunet-6dcaf1efb8eb764eaf9e707ce8f0dfcd3211a3ef.zip
-report result of both tests
Diffstat (limited to 'src/gns/test_gns_cname_lookup.sh')
-rw-r--r--src/gns/test_gns_cname_lookup.sh7
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
28if [ "$RES_CNAME" == "$TEST_IP_PLUS" ] 28if [ "$RES_CNAME" == "$TEST_IP_PLUS" ]
29then 29then
30 exit 0 30 echo "PASS: IP resulution from GNS"
31else 31else
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
34fi 34fi
35 35
36if [ "$RES_CNAME_DNS" == "$TEST_IP_DNS" ] 36if [ "$RES_CNAME_DNS" == "$TEST_IP_DNS" ]
37then 37then
38 echo "PASS: IP resulution from DNS"
38 exit 0 39 exit 0
39else 40else
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
42fi 43fi