aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_gns2dns_lookup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_gns2dns_lookup.sh')
-rwxr-xr-xsrc/gns/test_gns_gns2dns_lookup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/test_gns_gns2dns_lookup.sh b/src/gns/test_gns_gns2dns_lookup.sh
index f6f158088..f7299a57d 100755
--- a/src/gns/test_gns_gns2dns_lookup.sh
+++ b/src/gns/test_gns_gns2dns_lookup.sh
@@ -50,7 +50,7 @@ gnunet-namestore -p -z testego -a -n $TEST_RESOLVER_LABEL -t A -V $TEST_IP_GNS2D
50# map 'homepage.gnu' to 'gnunet.org' in DNS 50# map 'homepage.gnu' to 'gnunet.org' in DNS
51gnunet-namestore -p -z testego -a -n $TEST_RECORD_NAME -t GNS2DNS -V $TEST_RECORD_GNS2DNS -e never -c test_gns_lookup.conf 51gnunet-namestore -p -z testego -a -n $TEST_RECORD_NAME -t GNS2DNS -V $TEST_RECORD_GNS2DNS -e never -c test_gns_lookup.conf
52 52
53which timeout &> /dev/null && DO_TIMEOUT="timeout 5" 53which timeout &> /dev/null && DO_TIMEOUT="timeout 15"
54 54
55# lookup 'www.gnunet.org', IPv4 55# lookup 'www.gnunet.org', IPv4
56RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u $TEST_DOMAIN -t A -c test_gns_lookup.conf` 56RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u $TEST_DOMAIN -t A -c test_gns_lookup.conf`