aboutsummaryrefslogtreecommitdiff
path: root/src/dht
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-05-06 08:56:32 +0000
committerNathan S. Evans <evans@in.tum.de>2010-05-06 08:56:32 +0000
commit3daac5abcd5ae5f7029dc686cc9abab9fda81ceb (patch)
tree12a851586b9c329bca660f65eee2e9f194f35d26 /src/dht
parent871ce56f5fa7b154f5cc8704629e788845dba820 (diff)
downloadgnunet-3daac5abcd5ae5f7029dc686cc9abab9fda81ceb.tar.gz
gnunet-3daac5abcd5ae5f7029dc686cc9abab9fda81ceb.zip
copy config to /tmp/ so arm can remove
Diffstat (limited to 'src/dht')
-rwxr-xr-xsrc/dht/test_dht_tools.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/dht/test_dht_tools.sh b/src/dht/test_dht_tools.sh
index 9b05b7636..0ac7e94c0 100755
--- a/src/dht/test_dht_tools.sh
+++ b/src/dht/test_dht_tools.sh
@@ -1,10 +1,11 @@
1#!/bin/sh 1#!/bin/sh
2 2
3armexe="gnunet-arm -c test_dht_api_peer1.conf "
4putexe="gnunet-dht-put -c test_dht_api_peer1.conf "
5getexe="gnunet-dht-get -c test_dht_api_peer1.conf "
6out=`mktemp /tmp/test-gnunet-arm-logXXXXXXXX` 3out=`mktemp /tmp/test-gnunet-arm-logXXXXXXXX`
4tempcfg=`mktemp /tmp/test_dht_api_peer1.XXXXXXXX`
7checkout="check.out" 5checkout="check.out"
6armexe="gnunet-arm -c $tempcfg "
7putexe="gnunet-dht-put -c $tempcfg "
8getexe="gnunet-dht-get -c $tempcfg "
8 9
9stop_arm() 10stop_arm()
10{ 11{
@@ -17,6 +18,8 @@ stop_arm()
17 fi 18 fi
18} 19}
19 20
21cp test_dht_api_peer1.conf $tempcfg
22
20echo -n "TEST: Starting ARM..." 23echo -n "TEST: Starting ARM..."
21if ! $armexe $DEBUG -s > $out ; then 24if ! $armexe $DEBUG -s > $out ; then
22 echo "FAIL: error running $armexe" 25 echo "FAIL: error running $armexe"