aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_mx_lookup.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-05-10 13:30:58 +0200
committerChristian Grothoff <christian@grothoff.org>2018-05-10 13:30:58 +0200
commit5f59decb7b7d40f7b478abbc26d2cf15f1a140ae (patch)
treec7b571c9fb5da8e2abb0766447e4424f2243aace /src/gns/test_gns_mx_lookup.sh
parent60b697dc2e61bec2d49c13d4d8855e1506efba9b (diff)
downloadgnunet-5f59decb7b7d40f7b478abbc26d2cf15f1a140ae.tar.gz
gnunet-5f59decb7b7d40f7b478abbc26d2cf15f1a140ae.zip
fix /tmp removal
Diffstat (limited to 'src/gns/test_gns_mx_lookup.sh')
-rwxr-xr-xsrc/gns/test_gns_mx_lookup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_mx_lookup.sh b/src/gns/test_gns_mx_lookup.sh
index 8abc9f509..5a7ef21c3 100755
--- a/src/gns/test_gns_mx_lookup.sh
+++ b/src/gns/test_gns_mx_lookup.sh
@@ -13,7 +13,7 @@ then
13 exit 77 13 exit 77
14fi 14fi
15 15
16rm -rf /tmp/test-gnunet-gns-peer-1/ 16rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME`
17which timeout &> /dev/null && DO_TIMEOUT="timeout 5" 17which timeout &> /dev/null && DO_TIMEOUT="timeout 5"
18 18
19MY_EGO="myego" 19MY_EGO="myego"
@@ -28,7 +28,7 @@ RES_MX=`$DO_TIMEOUT gnunet-gns --raw -u www.$MY_EGO -t MX -c test_gns_lookup.con
28gnunet-namestore -z $MY_EGO -d -n www -t MX -V "$TEST_MX" -e never -c test_gns_lookup.conf 28gnunet-namestore -z $MY_EGO -d -n www -t MX -V "$TEST_MX" -e never -c test_gns_lookup.conf
29gnunet-identity -D $MY_EGO -c test_gns_lookup.conf 29gnunet-identity -D $MY_EGO -c test_gns_lookup.conf
30gnunet-arm -e -c test_gns_lookup.conf 30gnunet-arm -e -c test_gns_lookup.conf
31rm -rf /tmp/test-gnunet-gns-peer-1/ 31rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME`
32 32
33if [ "$RES_MX" == "$WANT_MX" ] 33if [ "$RES_MX" == "$WANT_MX" ]
34then 34then