gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 94a7671f073eda0f9e83a86b206968cd27c90584
parent fbe2292e299f7ba228ca71e70b0a33d80e0599c0
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Thu, 23 Nov 2023 20:21:57 +0100

meson: make test suites pass

Diffstat:
Msrc/cli/gns/meson.build | 1-
Msrc/cli/gns/test_gns_multiple_record_lookup.sh | 10+++++++---
Msrc/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 @@ -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 @@ -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 @@ -1,4 +1,4 @@ -@INLINE@ ../../../contrib/conf/gnunet/no_forcestart.conf +@INLINE@ ../../../../contrib/conf/gnunet/no_forcestart.conf [conversation] LINE=1