diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-05-10 13:30:58 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-05-10 13:30:58 +0200 |
commit | 5f59decb7b7d40f7b478abbc26d2cf15f1a140ae (patch) | |
tree | c7b571c9fb5da8e2abb0766447e4424f2243aace /src/gns/test_gns_txt_lookup.sh | |
parent | 60b697dc2e61bec2d49c13d4d8855e1506efba9b (diff) | |
download | gnunet-5f59decb7b7d40f7b478abbc26d2cf15f1a140ae.tar.gz gnunet-5f59decb7b7d40f7b478abbc26d2cf15f1a140ae.zip |
fix /tmp removal
Diffstat (limited to 'src/gns/test_gns_txt_lookup.sh')
-rwxr-xr-x | src/gns/test_gns_txt_lookup.sh | 4 |
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 |
14 | fi | 14 | fi |
15 | 15 | ||
16 | rm -rf /tmp/test-gnunet-gns-peer-1/ | 16 | rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` |
17 | which timeout &> /dev/null && DO_TIMEOUT="timeout 30" | 17 | which timeout &> /dev/null && DO_TIMEOUT="timeout 30" |
18 | TEST_TXT="GNS powered txt record data" | 18 | TEST_TXT="GNS powered txt record data" |
19 | MY_EGO="myego" | 19 | MY_EGO="myego" |
@@ -25,7 +25,7 @@ RES_TXT=`$DO_TIMEOUT gnunet-gns --raw -u $LABEL.$MY_EGO -t TXT -c test_gns_looku | |||
25 | gnunet-namestore -z $MY_EGO -d -n $LABEL -t TXT -V "$TEST_TXT" -e never -c test_gns_lookup.conf | 25 | gnunet-namestore -z $MY_EGO -d -n $LABEL -t TXT -V "$TEST_TXT" -e never -c test_gns_lookup.conf |
26 | gnunet-identity -D $MY_EGO -c test_gns_lookup.conf | 26 | gnunet-identity -D $MY_EGO -c test_gns_lookup.conf |
27 | gnunet-arm -e -c test_gns_lookup.conf | 27 | gnunet-arm -e -c test_gns_lookup.conf |
28 | rm -rf /tmp/test-gnunet-gns-peer-1/ | 28 | rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` |
29 | 29 | ||
30 | if [ "$RES_TXT" == "$TEST_TXT" ] | 30 | if [ "$RES_TXT" == "$TEST_TXT" ] |
31 | then | 31 | then |