diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-05-12 06:32:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-05-12 06:32:43 +0000 |
commit | d1d46fe33e75a837df25269b0dd00080b4150d87 (patch) | |
tree | aae7673146b8c12bed6064df29afa557c6d89796 /src | |
parent | b56dffb64dad40a326a63b17e0a76522a25fd382 (diff) | |
download | gnunet-d1d46fe33e75a837df25269b0dd00080b4150d87.tar.gz gnunet-d1d46fe33e75a837df25269b0dd00080b4150d87.zip |
clean up files
Diffstat (limited to 'src')
-rwxr-xr-x | src/dht/test_dht_tools.sh | 5 |
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 | ||
3 | out=`mktemp /tmp/test-gnunet-arm-logXXXXXXXX` | 3 | out=`mktemp /tmp/test-gnunet-dht-logXXXXXXXX` |
4 | tempcfg=`mktemp /tmp/test_dht_api_peer1.XXXXXXXX` | 4 | tempcfg=`mktemp /tmp/test_dht_api_peer1.XXXXXXXX` |
5 | checkout="check.out" | 5 | checkout="check.out" |
6 | armexe="gnunet-arm -c $tempcfg " | 6 | armexe="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 | ||
20 | cp test_dht_api_peer1.conf $tempcfg | 22 | cp test_dht_api_peer1.conf $tempcfg |
@@ -67,5 +69,4 @@ if ! diff -q $out $checkout ; then | |||
67 | exit 1 | 69 | exit 1 |
68 | fi | 70 | fi |
69 | echo "PASS" | 71 | echo "PASS" |
70 | |||
71 | stop_arm | 72 | stop_arm |