gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r29531 - gnunet/src/gns


From: gnunet
Subject: [GNUnet-SVN] r29531 - gnunet/src/gns
Date: Wed, 25 Sep 2013 14:28:45 +0200

Author: grothoff
Date: 2013-09-25 14:28:45 +0200 (Wed, 25 Sep 2013)
New Revision: 29531

Modified:
   gnunet/src/gns/test_gns_cname_lookup.sh
Log:
-report result of both tests

Modified: gnunet/src/gns/test_gns_cname_lookup.sh
===================================================================
--- gnunet/src/gns/test_gns_cname_lookup.sh     2013-09-25 12:16:42 UTC (rev 
29530)
+++ gnunet/src/gns/test_gns_cname_lookup.sh     2013-09-25 12:28:45 UTC (rev 
29531)
@@ -27,16 +27,17 @@
 
 if [ "$RES_CNAME" == "$TEST_IP_PLUS" ]
 then
-  exit 0
+  echo "PASS: IP resulution from GNS"
 else
-  echo "Failed to resolve to proper IP, got $RES_CNAME."
+  echo "FAIL: IP resolution from GNS, got $RES_CNAME."
   exit 1
 fi
 
 if [ "$RES_CNAME_DNS" == "$TEST_IP_DNS" ]
 then
+  echo "PASS: IP resulution from DNS"
   exit 0
 else
-  echo "Failed to resolve to proper IP from DNS, got $RES_IP."
+  echo "FAIL: IP resulution from DNS, got $RES_IP."
   exit 1
 fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]