aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_txt_lookup.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-05-10 13:30:58 +0200
committerChristian Grothoff <christian@grothoff.org>2018-05-10 13:30:58 +0200
commit5f59decb7b7d40f7b478abbc26d2cf15f1a140ae (patch)
treec7b571c9fb5da8e2abb0766447e4424f2243aace /src/gns/test_gns_txt_lookup.sh
parent60b697dc2e61bec2d49c13d4d8855e1506efba9b (diff)
downloadgnunet-5f59decb7b7d40f7b478abbc26d2cf15f1a140ae.tar.gz
gnunet-5f59decb7b7d40f7b478abbc26d2cf15f1a140ae.zip
fix /tmp removal
Diffstat (limited to 'src/gns/test_gns_txt_lookup.sh')
-rwxr-xr-xsrc/gns/test_gns_txt_lookup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_txt_lookup.sh b/src/gns/test_gns_txt_lookup.sh
index 68a60c8b6..ce9b9e806 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 -rf /tmp/test-gnunet-gns-peer-1/ 16rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME`
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"
19MY_EGO="myego" 19MY_EGO="myego"
@@ -25,7 +25,7 @@ RES_TXT=`$DO_TIMEOUT gnunet-gns --raw -u $LABEL.$MY_EGO -t TXT -c test_gns_looku
25gnunet-namestore -z $MY_EGO -d -n $LABEL -t TXT -V "$TEST_TXT" -e never -c test_gns_lookup.conf 25gnunet-namestore -z $MY_EGO -d -n $LABEL -t TXT -V "$TEST_TXT" -e never -c test_gns_lookup.conf
26gnunet-identity -D $MY_EGO -c test_gns_lookup.conf 26gnunet-identity -D $MY_EGO -c test_gns_lookup.conf
27gnunet-arm -e -c test_gns_lookup.conf 27gnunet-arm -e -c test_gns_lookup.conf
28rm -rf /tmp/test-gnunet-gns-peer-1/ 28rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME`
29 29
30if [ "$RES_TXT" == "$TEST_TXT" ] 30if [ "$RES_TXT" == "$TEST_TXT" ]
31then 31then