aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-05-02 08:08:17 +0200
committerChristian Grothoff <christian@grothoff.org>2019-05-02 08:08:17 +0200
commiteb799db1355cbecd3ddff953dfab1e10621d229d (patch)
treee35c0cff493c1bfed5e1658c6d74b7179ac51d78
parente46a601f124108ec5e76a22998618b0c630eae74 (diff)
downloadgnunet-eb799db1355cbecd3ddff953dfab1e10621d229d.tar.gz
gnunet-eb799db1355cbecd3ddff953dfab1e10621d229d.zip
tolerate additional IPv4 address now available for gnunet.org
-rwxr-xr-xsrc/gns/test_gns_gns2dns_cname_lookup.sh2
-rwxr-xr-xsrc/gns/test_gns_gns2dns_lookup.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gns/test_gns_gns2dns_cname_lookup.sh b/src/gns/test_gns_gns2dns_cname_lookup.sh
index fbc1dd7ee..87d684515 100755
--- a/src/gns/test_gns_gns2dns_cname_lookup.sh
+++ b/src/gns/test_gns_gns2dns_cname_lookup.sh
@@ -77,7 +77,7 @@ gnunet-arm -e -c test_gns_lookup.conf
77rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` 77rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME`
78 78
79ret=0 79ret=0
80if [ "$RES_IP" = "$TEST_IP" ] 80if echo "$RES_IP" | grep "$TEST_IP" > /dev/null
81then 81then
82 echo "PASS: Resolved $TEST_DOMAIN to $RES_IP." 82 echo "PASS: Resolved $TEST_DOMAIN to $RES_IP."
83else 83else
diff --git a/src/gns/test_gns_gns2dns_lookup.sh b/src/gns/test_gns_gns2dns_lookup.sh
index 22caa68ff..7cb8277aa 100755
--- a/src/gns/test_gns_gns2dns_lookup.sh
+++ b/src/gns/test_gns_gns2dns_lookup.sh
@@ -83,7 +83,7 @@ gnunet-arm -e -c test_gns_lookup.conf
83rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` 83rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME`
84 84
85ret=0 85ret=0
86if [ "$RES_IP" = "$TEST_IP" ] 86if echo "$RES_IP" | grep "$TEST_IP" > /dev/null
87then 87then
88 echo "PASS: Resolved $TEST_DOMAIN to $RES_IP." 88 echo "PASS: Resolved $TEST_DOMAIN to $RES_IP."
89else 89else
@@ -99,7 +99,7 @@ else
99 ret=1 99 ret=1
100fi 100fi
101 101
102if [ "$RES_IP_ALT" = "$TEST_IP" ] 102if echo "$RES_IP_ALT" | grep "$TEST_IP" > /dev/null
103then 103then
104 echo "PASS: Resolved $TEST_DOMAIN_ALT to $RES_IP_ALT." 104 echo "PASS: Resolved $TEST_DOMAIN_ALT to $RES_IP_ALT."
105else 105else
@@ -107,7 +107,7 @@ else
107 ret=1 107 ret=1
108fi 108fi
109 109
110if [ "$RES_IP_ALT2" = "$TEST_IP_ALT2" ] 110if echo "$RES_IP_ALT2" | grep "$TEST_IP_ALT2" > /dev/null
111then 111then
112 echo "PASS: Resolved $TEST_DOMAIN_ALT2 to $RES_IP_ALT2." 112 echo "PASS: Resolved $TEST_DOMAIN_ALT2 to $RES_IP_ALT2."
113else 113else