From d50cee784c332b5d950344f825fc9d1b3b78dbc0 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Sun, 20 Oct 2013 11:42:18 +0000 Subject: [PATCH] -ignore --- src/gns/test_gns_lookup.conf | 2 +- src/gns/test_gns_lookup.sh | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/gns/test_gns_lookup.conf b/src/gns/test_gns_lookup.conf index 17224fdf3..89007c279 100644 --- a/src/gns/test_gns_lookup.conf +++ b/src/gns/test_gns_lookup.conf @@ -19,4 +19,4 @@ MAX_PARALLEL_BACKGROUND_QUERIES = 10 DEFAULT_LOOKUP_TIMEOUT = 15 s RECORD_PUT_INTERVAL = 1 h ZONE_PUBLISH_TIME_WINDOW = 1 h - +DNS_ROOT=6KT43HD94T0C7R43JSE1U5G982BOHT9RCENEV7HT1207APDBQIT5RLLK2LCSC0PL2ICNRFPPQ834TIVOKK421TP1T1NNUKG43OHKPV8 diff --git a/src/gns/test_gns_lookup.sh b/src/gns/test_gns_lookup.sh index 85cc1f511..f90fb7364 100755 --- a/src/gns/test_gns_lookup.sh +++ b/src/gns/test_gns_lookup.sh @@ -3,26 +3,14 @@ trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` which timeout &> /dev/null && DO_TIMEOUT="timeout 5" TEST_IP="127.0.0.1" -TEST_IP6="dead::beef" gnunet-arm -s -c test_gns_lookup.conf gnunet-identity -C testego -c test_gns_lookup.conf gnunet-namestore -p -z testego -a -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf -gnunet-namestore -p -z testego -a -n www -t AAAA -V $TEST_IP6 -e never -c test_gns_lookup.conf RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.gnu -t A -c test_gns_lookup.conf` -RES_IP6=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.gnu -t AAAA -c test_gns_lookup.conf` gnunet-namestore -z testego -d -n www -t A -V $TEST_IP -e never -c test_gns_lookup.conf -gnunet-namestore -z testego -d -n www -t AAAA -V $TEST_IP6 -e never -c test_gns_lookup.conf gnunet-identity -D testego -c test_gns_lookup.conf gnunet-arm -e -c test_gns_lookup.conf -if [ "$RES_IP6" == "$TEST_IP6" ] -then - echo "PASS: Resolved correct IPv6 address, got $RES_IP6" -else - echo "FAIL: Failed to resolve to proper IP, got $RES_IP6." - exit 1 -fi - if [ "$RES_IP" == "$TEST_IP" ] then echo "PASS: Resolved correct IP address, got $RES_IP" -- 2.25.1