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_rel_expiration.sh | |
parent | 60b697dc2e61bec2d49c13d4d8855e1506efba9b (diff) | |
download | gnunet-5f59decb7b7d40f7b478abbc26d2cf15f1a140ae.tar.gz gnunet-5f59decb7b7d40f7b478abbc26d2cf15f1a140ae.zip |
fix /tmp removal
Diffstat (limited to 'src/gns/test_gns_rel_expiration.sh')
-rwxr-xr-x | src/gns/test_gns_rel_expiration.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_rel_expiration.sh b/src/gns/test_gns_rel_expiration.sh index 992098db3..a266a7484 100755 --- a/src/gns/test_gns_rel_expiration.sh +++ b/src/gns/test_gns_rel_expiration.sh | |||
@@ -16,7 +16,7 @@ fi | |||
16 | MY_EGO="myego" | 16 | MY_EGO="myego" |
17 | OTHER_EGO="delegatedego" | 17 | OTHER_EGO="delegatedego" |
18 | 18 | ||
19 | rm -rf /tmp/test-gnunet-gns-peer-1/ | 19 | rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` |
20 | which timeout &> /dev/null && DO_TIMEOUT="timeout 5" | 20 | which timeout &> /dev/null && DO_TIMEOUT="timeout 5" |
21 | TEST_IP="127.0.0.1" | 21 | TEST_IP="127.0.0.1" |
22 | gnunet-arm -s -c test_gns_lookup.conf | 22 | gnunet-arm -s -c test_gns_lookup.conf |
@@ -38,7 +38,7 @@ gnunet-namestore -z $MY_EGO -d -n b -t PKEY -V $DELEGATED_PKEY -e never -c test | |||
38 | gnunet-identity -D $MY_EGO -c test_gns_lookup.conf | 38 | gnunet-identity -D $MY_EGO -c test_gns_lookup.conf |
39 | gnunet-identity -D $OTHER_EGO -c test_gns_lookup.conf | 39 | gnunet-identity -D $OTHER_EGO -c test_gns_lookup.conf |
40 | gnunet-arm -e -c test_gns_lookup.conf | 40 | gnunet-arm -e -c test_gns_lookup.conf |
41 | rm -rf /tmp/test-gnunet-gns-peer-1/ | 41 | rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` |
42 | 42 | ||
43 | if [ "$RES_IP_EXP" == "$TEST_IP" ] | 43 | if [ "$RES_IP_EXP" == "$TEST_IP" ] |
44 | then | 44 | then |