diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-25 12:28:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-25 12:28:45 +0000 |
commit | 6dcaf1efb8eb764eaf9e707ce8f0dfcd3211a3ef (patch) | |
tree | 1b5e57a6fdf876401ac2fb5ea6e6850fff793fff /src/gns/test_gns_cname_lookup.sh | |
parent | 57a1b85dce167d740f50f3078e47d5a1ac51e5d8 (diff) | |
download | gnunet-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.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 |