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_gns2dns_lookup.sh | |
parent | 60b697dc2e61bec2d49c13d4d8855e1506efba9b (diff) | |
download | gnunet-5f59decb7b7d40f7b478abbc26d2cf15f1a140ae.tar.gz gnunet-5f59decb7b7d40f7b478abbc26d2cf15f1a140ae.zip |
fix /tmp removal
Diffstat (limited to 'src/gns/test_gns_gns2dns_lookup.sh')
-rwxr-xr-x | src/gns/test_gns_gns2dns_lookup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_gns2dns_lookup.sh b/src/gns/test_gns_gns2dns_lookup.sh index 921d9594d..ad5d762eb 100755 --- a/src/gns/test_gns_gns2dns_lookup.sh +++ b/src/gns/test_gns_gns2dns_lookup.sh | |||
@@ -13,7 +13,7 @@ then | |||
13 | exit 77 | 13 | exit 77 |
14 | fi | 14 | fi |
15 | 15 | ||
16 | rm -r 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 | # IP address of 'uk.gnunet.org' | 17 | # IP address of 'uk.gnunet.org' |
18 | TEST_IP_ALT2="81.187.252.184" | 18 | TEST_IP_ALT2="81.187.252.184" |
19 | # IP address of 'www.gnunet.org' | 19 | # IP address of 'www.gnunet.org' |
@@ -72,7 +72,7 @@ gnunet-namestore -z $MY_EGO -d -n $TEST_RESOLVER_LABEL -t A -V $TEST_IP_GNS2DNS | |||
72 | gnunet-namestore -z $MY_EGO -d -n $TEST_RECORD_NAME -t GNS2DNS -V $TEST_RECORD_GNS2DNS -e never -c test_gns_lookup.conf | 72 | gnunet-namestore -z $MY_EGO -d -n $TEST_RECORD_NAME -t GNS2DNS -V $TEST_RECORD_GNS2DNS -e never -c test_gns_lookup.conf |
73 | gnunet-identity -D $MY_EGO -c test_gns_lookup.conf | 73 | gnunet-identity -D $MY_EGO -c test_gns_lookup.conf |
74 | gnunet-arm -e -c test_gns_lookup.conf | 74 | gnunet-arm -e -c test_gns_lookup.conf |
75 | rm -rf /tmp/test-gnunet-gns-peer-1/ | 75 | rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` |
76 | 76 | ||
77 | ret=0 | 77 | ret=0 |
78 | if [ "$RES_IP" == "$TEST_IP" ] | 78 | if [ "$RES_IP" == "$TEST_IP" ] |