From 4f74276f13db3b2817df19e62ab92f5f1068295a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 16 Oct 2013 17:29:27 +0000 Subject: [PATCH] -make tests executable, enable himBHexpansion --- src/gns/test_gns_cname_lookup.sh | 2 +- src/gns/test_gns_delegated_lookup.sh | 2 +- src/gns/test_gns_ipv6_lookup.sh | 2 +- src/gns/test_gns_lookup.sh | 2 +- src/gns/test_gns_mx_lookup.sh | 2 +- src/gns/test_gns_ns_lookup.sh | 2 +- src/gns/test_gns_plus_lookup.sh | 2 +- src/gns/test_gns_pseu_shorten.sh | 4 ++-- src/gns/test_gns_txt_lookup.sh | 2 +- src/gns/test_gns_zkey_lookup.sh | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/gns/test_gns_cname_lookup.sh b/src/gns/test_gns_cname_lookup.sh index d1c838d99..1b91701cc 100755 --- a/src/gns/test_gns_cname_lookup.sh +++ b/src/gns/test_gns_cname_lookup.sh @@ -1,6 +1,6 @@ #!/bin/bash trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT -rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME` +rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` TEST_DOMAIN_PLUS="www.gnu" TEST_DOMAIN_DNS="www3.gnu" TEST_IP_PLUS="127.0.0.1" diff --git a/src/gns/test_gns_delegated_lookup.sh b/src/gns/test_gns_delegated_lookup.sh index ca50510ee..04a46f834 100755 --- a/src/gns/test_gns_delegated_lookup.sh +++ b/src/gns/test_gns_delegated_lookup.sh @@ -1,7 +1,7 @@ #!/bin/bash trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT which timeout &> /dev/null && DO_TIMEOUT="timeout 5" -rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME` +rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` TEST_IP="127.0.0.1" gnunet-arm -s -c test_gns_lookup.conf diff --git a/src/gns/test_gns_ipv6_lookup.sh b/src/gns/test_gns_ipv6_lookup.sh index d5e51ffe2..6dea58d49 100755 --- a/src/gns/test_gns_ipv6_lookup.sh +++ b/src/gns/test_gns_ipv6_lookup.sh @@ -1,6 +1,6 @@ #!/bin/bash trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT -rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME` +rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` which timeout &> /dev/null && DO_TIMEOUT="timeout 5" TEST_IP="dead::beef" gnunet-arm -s -c test_gns_lookup.conf diff --git a/src/gns/test_gns_lookup.sh b/src/gns/test_gns_lookup.sh index ddaa1c47b..11daee7e4 100755 --- a/src/gns/test_gns_lookup.sh +++ b/src/gns/test_gns_lookup.sh @@ -1,6 +1,6 @@ #!/bin/bash trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT -rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME` +rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` which timeout &> /dev/null && DO_TIMEOUT="timeout 5" TEST_IP="127.0.0.1" gnunet-arm -s -c test_gns_lookup.conf diff --git a/src/gns/test_gns_mx_lookup.sh b/src/gns/test_gns_mx_lookup.sh index 41453cd0d..b4ec9efb4 100755 --- a/src/gns/test_gns_mx_lookup.sh +++ b/src/gns/test_gns_mx_lookup.sh @@ -1,6 +1,6 @@ #!/bin/bash trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT -rm -fr `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME` +rm -fr `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` which timeout &> /dev/null && DO_TIMEOUT="timeout 5" TEST_MX="5,mail.gnu" diff --git a/src/gns/test_gns_ns_lookup.sh b/src/gns/test_gns_ns_lookup.sh index 018bcb9c2..8c77a54c6 100755 --- a/src/gns/test_gns_ns_lookup.sh +++ b/src/gns/test_gns_ns_lookup.sh @@ -1,6 +1,6 @@ #!/bin/bash trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT -rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME` +rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` TEST_DOMAIN="www.homepage.gnu" TEST_DOMAIN_ALT="homepage.gnu" TEST_DOMAIN_ALT2="uk.homepage.gnu" diff --git a/src/gns/test_gns_plus_lookup.sh b/src/gns/test_gns_plus_lookup.sh index d7138c62b..3ecd1ae1b 100755 --- a/src/gns/test_gns_plus_lookup.sh +++ b/src/gns/test_gns_plus_lookup.sh @@ -1,7 +1,7 @@ #!/bin/bash trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT which timeout &> /dev/null && DO_TIMEOUT="timeout 5" -rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME` +rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` TEST_IP="127.0.0.1" gnunet-arm -s -c test_gns_lookup.conf diff --git a/src/gns/test_gns_pseu_shorten.sh b/src/gns/test_gns_pseu_shorten.sh index b1eac5570..8b22438de 100755 --- a/src/gns/test_gns_pseu_shorten.sh +++ b/src/gns/test_gns_pseu_shorten.sh @@ -2,14 +2,14 @@ trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT which timeout &> /dev/null && DO_TIMEOUT="timeout 5" -rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME` +rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` TEST_IP="127.0.0.1" TEST_PSEU="alice" TEST_NAME="www.mybestfriendalice.gnu" TEST_NAME_SHORT="www.alice.short.gnu" gnunet-arm -s -c test_gns_lookup.conf DELEGATED_PKEY=$(gnunet-identity -d -c test_gns_lookup.conf | grep delegatedego | awk '{print $3}') -gnunet-identity -c test_gns_lookup.conf -d +gnunet-identity -c test_gns_lookup.conf -d gnunet-identity -C short-zone -c test_gns_lookup.conf gnunet-identity -C delegatedego -c test_gns_lookup.conf gnunet-identity -e short-zone -s gns-short -c test_gns_lookup.conf diff --git a/src/gns/test_gns_txt_lookup.sh b/src/gns/test_gns_txt_lookup.sh index 1298c324b..8d7e08f64 100755 --- a/src/gns/test_gns_txt_lookup.sh +++ b/src/gns/test_gns_txt_lookup.sh @@ -1,6 +1,6 @@ #!/bin/bash trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT -rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME` +rm -r `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` which timeout &> /dev/null && DO_TIMEOUT="timeout 5" TEST_TXT="GNS powered txt record data" gnunet-arm -s -c test_gns_lookup.conf diff --git a/src/gns/test_gns_zkey_lookup.sh b/src/gns/test_gns_zkey_lookup.sh index 56c2ad09d..dbf4f1f12 100755 --- a/src/gns/test_gns_zkey_lookup.sh +++ b/src/gns/test_gns_zkey_lookup.sh @@ -1,7 +1,7 @@ #!/bin/bash trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT which timeout &> /dev/null && DO_TIMEOUT="timeout 5" -rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME` +rm -rf `gnunet-config -c test_gns_lookup.conf -s PATHS -o GNUNET_HOME -f` TEST_IP="127.0.0.1" gnunet-arm -s -c test_gns_lookup.conf -- 2.25.1