gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r11207 - gnunet/src/dht
Date: Thu, 6 May 2010 10:56:32 +0200

Author: nevans
Date: 2010-05-06 10:56:32 +0200 (Thu, 06 May 2010)
New Revision: 11207

Modified:
   gnunet/src/dht/test_dht_tools.sh
Log:
copy config to /tmp/ so arm can remove

Modified: gnunet/src/dht/test_dht_tools.sh
===================================================================
--- gnunet/src/dht/test_dht_tools.sh    2010-05-06 07:35:52 UTC (rev 11206)
+++ gnunet/src/dht/test_dht_tools.sh    2010-05-06 08:56:32 UTC (rev 11207)
@@ -1,10 +1,11 @@
 #!/bin/sh
 
-armexe="gnunet-arm -c test_dht_api_peer1.conf "
-putexe="gnunet-dht-put -c test_dht_api_peer1.conf "
-getexe="gnunet-dht-get -c test_dht_api_peer1.conf "
 out=`mktemp /tmp/test-gnunet-arm-logXXXXXXXX`
+tempcfg=`mktemp /tmp/test_dht_api_peer1.XXXXXXXX`
 checkout="check.out"
+armexe="gnunet-arm -c $tempcfg "
+putexe="gnunet-dht-put -c $tempcfg "
+getexe="gnunet-dht-get -c $tempcfg "
 
 stop_arm()
 {
@@ -17,6 +18,8 @@
   fi
 }
 
+cp test_dht_api_peer1.conf $tempcfg
+
 echo -n "TEST: Starting ARM..."
 if ! $armexe $DEBUG -s > $out ; then
   echo "FAIL: error running $armexe"





reply via email to

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