aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-05-12 06:32:43 +0000
committerChristian Grothoff <christian@grothoff.org>2010-05-12 06:32:43 +0000
commitd1d46fe33e75a837df25269b0dd00080b4150d87 (patch)
treeaae7673146b8c12bed6064df29afa557c6d89796 /src
parentb56dffb64dad40a326a63b17e0a76522a25fd382 (diff)
downloadgnunet-d1d46fe33e75a837df25269b0dd00080b4150d87.tar.gz
gnunet-d1d46fe33e75a837df25269b0dd00080b4150d87.zip
clean up files
Diffstat (limited to 'src')
-rwxr-xr-xsrc/dht/test_dht_tools.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dht/test_dht_tools.sh b/src/dht/test_dht_tools.sh
index 9613cbf54..035107997 100755
--- a/src/dht/test_dht_tools.sh
+++ b/src/dht/test_dht_tools.sh
@@ -1,6 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2 2
3out=`mktemp /tmp/test-gnunet-arm-logXXXXXXXX` 3out=`mktemp /tmp/test-gnunet-dht-logXXXXXXXX`
4tempcfg=`mktemp /tmp/test_dht_api_peer1.XXXXXXXX` 4tempcfg=`mktemp /tmp/test_dht_api_peer1.XXXXXXXX`
5checkout="check.out" 5checkout="check.out"
6armexe="gnunet-arm -c $tempcfg " 6armexe="gnunet-arm -c $tempcfg "
@@ -13,8 +13,10 @@ stop_arm()
13 echo "FAIL: error running $armexe" 13 echo "FAIL: error running $armexe"
14 echo "Command output was:" 14 echo "Command output was:"
15 cat $out 15 cat $out
16 rm -f $out $tempcfg
16 exit 1 17 exit 1
17 fi 18 fi
19 rm -f $out $tempcfg
18} 20}
19 21
20cp test_dht_api_peer1.conf $tempcfg 22cp test_dht_api_peer1.conf $tempcfg
@@ -67,5 +69,4 @@ if ! diff -q $out $checkout ; then
67 exit 1 69 exit 1
68fi 70fi
69echo "PASS" 71echo "PASS"
70
71stop_arm 72stop_arm