From: Christian Grothoff Date: Thu, 2 May 2019 06:08:17 +0000 (+0200) Subject: tolerate additional IPv4 address now available for gnunet.org X-Git-Tag: v0.11.4~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eb799db1355cbecd3ddff953dfab1e10621d229d;p=oweals%2Fgnunet.git tolerate additional IPv4 address now available for gnunet.org --- 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 rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` ret=0 -if [ "$RES_IP" = "$TEST_IP" ] +if echo "$RES_IP" | grep "$TEST_IP" > /dev/null then echo "PASS: Resolved $TEST_DOMAIN to $RES_IP." else 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 rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` ret=0 -if [ "$RES_IP" = "$TEST_IP" ] +if echo "$RES_IP" | grep "$TEST_IP" > /dev/null then echo "PASS: Resolved $TEST_DOMAIN to $RES_IP." else @@ -99,7 +99,7 @@ else ret=1 fi -if [ "$RES_IP_ALT" = "$TEST_IP" ] +if echo "$RES_IP_ALT" | grep "$TEST_IP" > /dev/null then echo "PASS: Resolved $TEST_DOMAIN_ALT to $RES_IP_ALT." else @@ -107,7 +107,7 @@ else ret=1 fi -if [ "$RES_IP_ALT2" = "$TEST_IP_ALT2" ] +if echo "$RES_IP_ALT2" | grep "$TEST_IP_ALT2" > /dev/null then echo "PASS: Resolved $TEST_DOMAIN_ALT2 to $RES_IP_ALT2." else