From ea8c85c55b9df1b491713b79bb221b7476949742 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 18 Dec 2013 11:32:49 +0000 Subject: clean up test after execution --- src/gns/test_gns_mx_lookup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gns/test_gns_mx_lookup.sh') diff --git a/src/gns/test_gns_mx_lookup.sh b/src/gns/test_gns_mx_lookup.sh index eca7316ff..e378bd1f7 100755 --- a/src/gns/test_gns_mx_lookup.sh +++ b/src/gns/test_gns_mx_lookup.sh @@ -13,7 +13,7 @@ then exit 77 fi -rm -fr `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` +rm -rf /tmp/test-gnunet-gns-peer-1/ which timeout &> /dev/null && DO_TIMEOUT="timeout 5" TEST_MX="5,mail.gnu" @@ -25,6 +25,7 @@ RES_MX=`$DO_TIMEOUT gnunet-gns --raw -z testego -u www.gnu -t MX -c test_gns_loo gnunet-namestore -z testego -d -n www -t MX -V "$TEST_MX" -e never -c test_gns_lookup.conf gnunet-identity -D testego -c test_gns_lookup.conf gnunet-arm -e -c test_gns_lookup.conf +rm -rf /tmp/test-gnunet-gns-peer-1/ if [ "$RES_MX" == "$TEST_MX" ] then -- cgit v1.2.3