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_soa_lookup.sh | |
parent | 60b697dc2e61bec2d49c13d4d8855e1506efba9b (diff) | |
download | gnunet-5f59decb7b7d40f7b478abbc26d2cf15f1a140ae.tar.gz gnunet-5f59decb7b7d40f7b478abbc26d2cf15f1a140ae.zip |
fix /tmp removal
Diffstat (limited to 'src/gns/test_gns_soa_lookup.sh')
-rwxr-xr-x | src/gns/test_gns_soa_lookup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_soa_lookup.sh b/src/gns/test_gns_soa_lookup.sh index 2f9cc58de..82a5885c3 100755 --- a/src/gns/test_gns_soa_lookup.sh +++ b/src/gns/test_gns_soa_lookup.sh | |||
@@ -15,7 +15,7 @@ fi | |||
15 | 15 | ||
16 | which timeout &> /dev/null && DO_TIMEOUT="timeout 5" | 16 | which timeout &> /dev/null && DO_TIMEOUT="timeout 5" |
17 | 17 | ||
18 | rm -rf /tmp/test-gnunet-gns-peer-1/ | 18 | rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` |
19 | MY_EGO="myego" | 19 | MY_EGO="myego" |
20 | TEST_DOMAIN="homepage.$MY_EGO" | 20 | TEST_DOMAIN="homepage.$MY_EGO" |
21 | # some public DNS resolver we can use | 21 | # some public DNS resolver we can use |
@@ -36,7 +36,7 @@ RES_SOA=`$DO_TIMEOUT gnunet-gns --raw -u $TEST_DOMAIN -t SOA -c test_gns_lookup. | |||
36 | gnunet-namestore -z $MY_EGO -d -n $TEST_RECORD_NAME -t GNS2DNS -V ${TEST_RECORD_GNS2DNS}@${TEST_IP_GNS2DNS} -e never -c test_gns_lookup.conf &> /dev/null | 36 | gnunet-namestore -z $MY_EGO -d -n $TEST_RECORD_NAME -t GNS2DNS -V ${TEST_RECORD_GNS2DNS}@${TEST_IP_GNS2DNS} -e never -c test_gns_lookup.conf &> /dev/null |
37 | gnunet-identity -D $MY_EGO -c test_gns_lookup.conf | 37 | gnunet-identity -D $MY_EGO -c test_gns_lookup.conf |
38 | gnunet-arm -e -c test_gns_lookup.conf | 38 | gnunet-arm -e -c test_gns_lookup.conf |
39 | rm -rf /tmp/test-gnunet-gns-peer-1/ | 39 | rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` |
40 | 40 | ||
41 | if [ "x$RES_SOA" != "x" ] | 41 | if [ "x$RES_SOA" != "x" ] |
42 | then | 42 | then |