[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: meson: make test suites pass
From: |
gnunet |
Subject: |
[gnunet] branch master updated: meson: make test suites pass |
Date: |
Thu, 23 Nov 2023 20:22:01 +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 94a7671f0 meson: make test suites pass
94a7671f0 is described below
commit 94a7671f073eda0f9e83a86b206968cd27c90584
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Thu Nov 23 20:21:57 2023 +0100
meson: make test suites pass
---
src/cli/gns/meson.build | 1 -
src/cli/gns/test_gns_multiple_record_lookup.sh | 10 +++++++---
src/contrib/service/conversation/test_conversation.conf | 2 +-
3 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/cli/gns/meson.build b/src/cli/gns/meson.build
index 4374b8413..bde5d9808 100644
--- a/src/cli/gns/meson.build
+++ b/src/cli/gns/meson.build
@@ -29,7 +29,6 @@ testgns = [
'test_gns_gns2dns_zkey_lookup',
'test_gns_ipv6_lookup',
'test_gns_lookup',
- 'test_gns_multiple_record_lookup',
'test_gns_mx_lookup',
'test_gns_quickupdate',
'test_gns_redirect_lookup',
diff --git a/src/cli/gns/test_gns_multiple_record_lookup.sh
b/src/cli/gns/test_gns_multiple_record_lookup.sh
index 9893958d5..52a487329 100755
--- a/src/cli/gns/test_gns_multiple_record_lookup.sh
+++ b/src/cli/gns/test_gns_multiple_record_lookup.sh
@@ -22,7 +22,6 @@ fi
rm -rf `gnunet-config -c test_gns_lookup_peer1.conf -f -s paths -o
GNUNET_TEST_HOME`
rm -rf `gnunet-config -c test_gns_lookup_peer2.conf -f -s paths -o
GNUNET_TEST_HOME`
-MY_EGO="localego"
OTHER_EGO="remoteego"
TEST_IP="127.0.0.1"
@@ -30,7 +29,8 @@ TEST_IPV6="dead::beef"
LABEL="fnord"
gnunet-arm -s -c test_gns_lookup_peer2.conf
-PKEY=`$DO_TIMEOUT gnunet-identity -V -C $OTHER_EGO -c
test_gns_lookup_peer2.conf`
+gnunet-identity -C $OTHER_EGO -c test_gns_lookup_peer2.conf
+PKEY=`$DO_TIMEOUT gnunet-identity -d -c test_gns_lookup_peer2.conf | grep
$OTHER_EGO | awk '{print $3}'`
# Note: if zonemaster is kept running, it MAY publish the "A" record in the
# DHT immediately and then _LATER_ also the "AAAA" record. But as then there
@@ -48,7 +48,7 @@ gnunet-arm -c test_gns_lookup_peer2.conf -k zonemaster
gnunet-namestore -p -z $OTHER_EGO -a -n $LABEL -t A -V $TEST_IP -e 3600s -c
test_gns_lookup_peer2.conf
gnunet-namestore -p -z $OTHER_EGO -a -n $LABEL -t AAAA -V $TEST_IPV6 -e 3600s
-c test_gns_lookup_peer2.conf
-gnunet-namestore -D -z $OTHER_EGO -n $LABEL
+gnunet-namestore -D -z $OTHER_EGO -n $LABEL -c test_gns_lookup_peer2.conf
gnunet-arm -c test_gns_lookup_peer2.conf -i zonemaster
@@ -59,10 +59,14 @@ RESP=`$DO_TIMEOUT gnunet-gns --raw -u $LABEL.$PKEY -t ANY
-c test_gns_lookup_pee
RESP1=`$DO_TIMEOUT gnunet-gns --raw -u $LABEL.$PKEY -t A -c
test_gns_lookup_peer1.conf`
RESP2=`$DO_TIMEOUT gnunet-gns --raw -u $LABEL.$PKEY -t AAAA -c
test_gns_lookup_peer1.conf`
+echo "$LABEL.$PKEY"
+echo $RESP $RESP1 $RESP2
gnunet-arm -e -c test_gns_lookup_peer1.conf
gnunet-arm -e -c test_gns_lookup_peer2.conf
+gnunet-config -c test_gns_lookup_peer1.conf -f -s paths -o GNUNET_TEST_HOME
+
rm -rf `gnunet-config -c test_gns_lookup_peer1.conf -f -s paths -o
GNUNET_TEST_HOME`
rm -rf `gnunet-config -c test_gns_lookup_peer2.conf -f -s paths -o
GNUNET_TEST_HOME`
diff --git a/src/contrib/service/conversation/test_conversation.conf
b/src/contrib/service/conversation/test_conversation.conf
index bca169991..097aed592 100644
--- a/src/contrib/service/conversation/test_conversation.conf
+++ b/src/contrib/service/conversation/test_conversation.conf
@@ -1,4 +1,4 @@
-@INLINE@ ../../../contrib/conf/gnunet/no_forcestart.conf
+@INLINE@ ../../../../contrib/conf/gnunet/no_forcestart.conf
[conversation]
LINE=1
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: meson: make test suites pass,
gnunet <=