aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_txt_lookup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_txt_lookup.sh')
-rwxr-xr-xsrc/gns/test_gns_txt_lookup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gns/test_gns_txt_lookup.sh b/src/gns/test_gns_txt_lookup.sh
index a025eb8be..426bf8d5a 100755
--- a/src/gns/test_gns_txt_lookup.sh
+++ b/src/gns/test_gns_txt_lookup.sh
@@ -13,7 +13,7 @@ then
13 exit 77 13 exit 77
14fi 14fi
15 15
16rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` 16rm -rf /tmp/test-gnunet-gns-peer-1/
17which timeout &> /dev/null && DO_TIMEOUT="timeout 30" 17which timeout &> /dev/null && DO_TIMEOUT="timeout 30"
18TEST_TXT="GNS powered txt record data" 18TEST_TXT="GNS powered txt record data"
19gnunet-arm -s -c test_gns_lookup.conf 19gnunet-arm -s -c test_gns_lookup.conf
@@ -23,6 +23,7 @@ RES_TXT=`$DO_TIMEOUT gnunet-gns --raw -z testego -u testtxt.gnu -t TXT -c test_g
23gnunet-namestore -z testego -d -n testtxt -t TXT -V "$TEST_TXT" -e never -c test_gns_lookup.conf 23gnunet-namestore -z testego -d -n testtxt -t TXT -V "$TEST_TXT" -e never -c test_gns_lookup.conf
24gnunet-identity -D testego -c test_gns_lookup.conf 24gnunet-identity -D testego -c test_gns_lookup.conf
25gnunet-arm -e -c test_gns_lookup.conf 25gnunet-arm -e -c test_gns_lookup.conf
26rm -rf /tmp/test-gnunet-gns-peer-1/
26 27
27if [ "$RES_TXT" == "$TEST_TXT" ] 28if [ "$RES_TXT" == "$TEST_TXT" ]
28then 29then