[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/02: tolerate additional IPv4 address now availa
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/02: tolerate additional IPv4 address now available for gnunet.org |
Date: |
Thu, 02 May 2019 08:08:36 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit eb799db1355cbecd3ddff953dfab1e10621d229d
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu May 2 08:08:17 2019 +0200
tolerate additional IPv4 address now available for gnunet.org
---
src/gns/test_gns_gns2dns_cname_lookup.sh | 2 +-
src/gns/test_gns_gns2dns_lookup.sh | 6 +++---
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
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
--
To stop receiving notification emails like this one, please contact
address@hidden