gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -portable fix for ips


From: gnunet
Subject: [gnunet] branch master updated: -portable fix for ips
Date: Fri, 25 Feb 2022 13:01:05 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 0f0e3207f -portable fix for ips
0f0e3207f is described below

commit 0f0e3207f73b55d16fa369b26e1a2b7ed96734f1
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Fri Feb 25 13:01:00 2022 +0100

    -portable fix for ips
---
 src/gns/test_gns_gns2dns_lookup.sh      | 2 +-
 src/gns/test_gns_gns2dns_zkey_lookup.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gns/test_gns_gns2dns_lookup.sh 
b/src/gns/test_gns_gns2dns_lookup.sh
index 6cb1cc43e..240e441a4 100755
--- a/src/gns/test_gns_gns2dns_lookup.sh
+++ b/src/gns/test_gns_gns2dns_lookup.sh
@@ -93,7 +93,7 @@ else
   ret=1
 fi
 
-if [ "$RES_IP6" = "$TEST_IP6" ]
+if [ "${RES_IP6%?}" = "${TEST_IP6%?}" ]
 then
   echo "PASS: Resolved $TEST_DOMAIN to $RES_IP6."
 else
diff --git a/src/gns/test_gns_gns2dns_zkey_lookup.sh 
b/src/gns/test_gns_gns2dns_zkey_lookup.sh
index c5a7fe4a0..a299c34b6 100755
--- a/src/gns/test_gns_gns2dns_zkey_lookup.sh
+++ b/src/gns/test_gns_gns2dns_zkey_lookup.sh
@@ -90,7 +90,7 @@ else
   ret=1
 fi
 
-if [ "$RES_IP6" = "$TEST_IP6" ]
+if [ "${RES_IP6%?}" = "${TEST_IP6%?}" ]
 then
   echo "PASS: Resolved $TEST_DOMAIN to $RES_IP6."
 else

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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