aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_rel_expiration.sh
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-12-18 11:32:49 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-12-18 11:32:49 +0000
commitea8c85c55b9df1b491713b79bb221b7476949742 (patch)
tree0eb46f89dd6bd8aa650cdb546ad509a75f06b340 /src/gns/test_gns_rel_expiration.sh
parent89750cb0d154d0c82de41ff10c70d8e8d70e0c9f (diff)
downloadgnunet-ea8c85c55b9df1b491713b79bb221b7476949742.tar.gz
gnunet-ea8c85c55b9df1b491713b79bb221b7476949742.zip
clean up test after execution
Diffstat (limited to 'src/gns/test_gns_rel_expiration.sh')
-rwxr-xr-xsrc/gns/test_gns_rel_expiration.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gns/test_gns_rel_expiration.sh b/src/gns/test_gns_rel_expiration.sh
index 1f46d3c30..91eb45b3f 100755
--- a/src/gns/test_gns_rel_expiration.sh
+++ b/src/gns/test_gns_rel_expiration.sh
@@ -13,7 +13,7 @@ then
13 exit 77 13 exit 77
14fi 14fi
15 15
16rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` 16rm -rf /tmp/test-gnunet-gns-peer-1/
17which timeout &> /dev/null && DO_TIMEOUT="timeout 5" 17which timeout &> /dev/null && DO_TIMEOUT="timeout 5"
18TEST_IP="127.0.0.1" 18TEST_IP="127.0.0.1"
19gnunet-arm -s -c test_gns_lookup.conf 19gnunet-arm -s -c test_gns_lookup.conf
@@ -33,6 +33,7 @@ gnunet-namestore -z testego -d -n b -t PKEY -V $DELEGATED_PKEY -e never -c test
33gnunet-identity -D testego -c test_gns_lookup.conf 33gnunet-identity -D testego -c test_gns_lookup.conf
34gnunet-identity -D delegatedego -c test_gns_lookup.conf 34gnunet-identity -D delegatedego -c test_gns_lookup.conf
35gnunet-arm -e -c test_gns_lookup.conf 35gnunet-arm -e -c test_gns_lookup.conf
36rm -rf /tmp/test-gnunet-gns-peer-1/
36 37
37if [ "$RES_IP_EXP" == "$TEST_IP" ] 38if [ "$RES_IP_EXP" == "$TEST_IP" ]
38then 39then