aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_dht_lookup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_dht_lookup.sh')
-rwxr-xr-xsrc/gns/test_gns_dht_lookup.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gns/test_gns_dht_lookup.sh b/src/gns/test_gns_dht_lookup.sh
index 7d76d9c52..e2b025f86 100755
--- a/src/gns/test_gns_dht_lookup.sh
+++ b/src/gns/test_gns_dht_lookup.sh
@@ -2,6 +2,13 @@
2trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT 2trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT
3which timeout &> /dev/null && DO_TIMEOUT="timeout 30" 3which timeout &> /dev/null && DO_TIMEOUT="timeout 30"
4 4
5LOCATION=$(which gnunet-config)
6if [ -z $LOCATION ]
7then
8 echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX"
9 exit 1
10fi
11
5TEST_IP="127.0.0.1" 12TEST_IP="127.0.0.1"
6gnunet-arm -s -c test_gns_lookup.conf 13gnunet-arm -s -c test_gns_lookup.conf
7gnunet-identity -C delegatedego -c test_gns_lookup.conf 14gnunet-identity -C delegatedego -c test_gns_lookup.conf