diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-18 11:32:49 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-18 11:32:49 +0000 |
commit | ea8c85c55b9df1b491713b79bb221b7476949742 (patch) | |
tree | 0eb46f89dd6bd8aa650cdb546ad509a75f06b340 /src/gns/test_gns_txt_lookup.sh | |
parent | 89750cb0d154d0c82de41ff10c70d8e8d70e0c9f (diff) | |
download | gnunet-ea8c85c55b9df1b491713b79bb221b7476949742.tar.gz gnunet-ea8c85c55b9df1b491713b79bb221b7476949742.zip |
clean up test after execution
Diffstat (limited to 'src/gns/test_gns_txt_lookup.sh')
-rwxr-xr-x | src/gns/test_gns_txt_lookup.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gns/test_gns_txt_lookup.sh b/src/gns/test_gns_txt_lookup.sh index a025eb8be..426bf8d5a 100755 --- a/src/gns/test_gns_txt_lookup.sh +++ b/src/gns/test_gns_txt_lookup.sh | |||
@@ -13,7 +13,7 @@ then | |||
13 | exit 77 | 13 | exit 77 |
14 | fi | 14 | fi |
15 | 15 | ||
16 | rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` | 16 | rm -rf /tmp/test-gnunet-gns-peer-1/ |
17 | which timeout &> /dev/null && DO_TIMEOUT="timeout 30" | 17 | which timeout &> /dev/null && DO_TIMEOUT="timeout 30" |
18 | TEST_TXT="GNS powered txt record data" | 18 | TEST_TXT="GNS powered txt record data" |
19 | gnunet-arm -s -c test_gns_lookup.conf | 19 | gnunet-arm -s -c test_gns_lookup.conf |
@@ -23,6 +23,7 @@ RES_TXT=`$DO_TIMEOUT gnunet-gns --raw -z testego -u testtxt.gnu -t TXT -c test_g | |||
23 | gnunet-namestore -z testego -d -n testtxt -t TXT -V "$TEST_TXT" -e never -c test_gns_lookup.conf | 23 | gnunet-namestore -z testego -d -n testtxt -t TXT -V "$TEST_TXT" -e never -c test_gns_lookup.conf |
24 | gnunet-identity -D testego -c test_gns_lookup.conf | 24 | gnunet-identity -D testego -c test_gns_lookup.conf |
25 | gnunet-arm -e -c test_gns_lookup.conf | 25 | gnunet-arm -e -c test_gns_lookup.conf |
26 | rm -rf /tmp/test-gnunet-gns-peer-1/ | ||
26 | 27 | ||
27 | if [ "$RES_TXT" == "$TEST_TXT" ] | 28 | if [ "$RES_TXT" == "$TEST_TXT" ] |
28 | then | 29 | then |