gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11345 - gnunet/src/dht


From: gnunet
Subject: [GNUnet-SVN] r11345 - gnunet/src/dht
Date: Wed, 12 May 2010 08:32:43 +0200

Author: grothoff
Date: 2010-05-12 08:32:43 +0200 (Wed, 12 May 2010)
New Revision: 11345

Modified:
   gnunet/src/dht/test_dht_tools.sh
Log:
clean up files

Modified: gnunet/src/dht/test_dht_tools.sh
===================================================================
--- gnunet/src/dht/test_dht_tools.sh    2010-05-12 06:29:38 UTC (rev 11344)
+++ gnunet/src/dht/test_dht_tools.sh    2010-05-12 06:32:43 UTC (rev 11345)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-out=`mktemp /tmp/test-gnunet-arm-logXXXXXXXX`
+out=`mktemp /tmp/test-gnunet-dht-logXXXXXXXX`
 tempcfg=`mktemp /tmp/test_dht_api_peer1.XXXXXXXX`
 checkout="check.out"
 armexe="gnunet-arm -c $tempcfg "
@@ -13,8 +13,10 @@
     echo "FAIL: error running $armexe"
     echo "Command output was:"
     cat $out
+    rm -f $out $tempcfg
     exit 1
   fi
+  rm -f $out $tempcfg
 }
 
 cp test_dht_api_peer1.conf $tempcfg
@@ -67,5 +69,4 @@
   exit 1
 fi
 echo "PASS"
-
 stop_arm




reply via email to

[Prev in Thread] Current Thread [Next in Thread]