aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_gns2dns_cname_lookup.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-01-11 22:20:31 +0100
committerChristian Grothoff <christian@grothoff.org>2019-01-11 22:22:40 +0100
commit963cdcfe33adfb00c18bbcbf2f93ff363d27fa01 (patch)
tree12b75c67f7bb7be32522f2ddff67b93a806447be /src/gns/test_gns_gns2dns_cname_lookup.sh
parentee86e7da4e809a34db7fbefa5a579f8bd787009b (diff)
downloadgnunet-963cdcfe33adfb00c18bbcbf2f93ff363d27fa01.tar.gz
gnunet-963cdcfe33adfb00c18bbcbf2f93ff363d27fa01.zip
fix testcases, do not skip needlessly (typos)
Diffstat (limited to 'src/gns/test_gns_gns2dns_cname_lookup.sh')
-rwxr-xr-xsrc/gns/test_gns_gns2dns_cname_lookup.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gns/test_gns_gns2dns_cname_lookup.sh b/src/gns/test_gns_gns2dns_cname_lookup.sh
index 17196f820..c07905d83 100755
--- a/src/gns/test_gns_gns2dns_cname_lookup.sh
+++ b/src/gns/test_gns_gns2dns_cname_lookup.sh
@@ -45,11 +45,10 @@ TEST_DOMAIN="www.${TEST_RECORD_NAME}.$MY_EGO"
45 45
46which timeout &> /dev/null && DO_TIMEOUT="timeout 15" 46which timeout &> /dev/null && DO_TIMEOUT="timeout 15"
47 47
48
49gnunet-arm -s -c test_gns_lookup.conf 48gnunet-arm -s -c test_gns_lookup.conf
50 49OUT=`$DO_TIMEOUT gnunet-resolver -c test_gns_lookup.conf gnunet.org`
51echo $OUT | grep $TEST_IP - > /dev/null || { gnunet-arm -e -c test_gns_lookup.conf ; echo "IPv4 for gnunet.org not found, skipping test"; exit 77; } 50echo $OUT | grep $TEST_IP - > /dev/null || { gnunet-arm -e -c test_gns_lookup.conf ; echo "IPv4 for gnunet.org not found ($OUT), skipping test"; exit 77; }
52echo $OUT | grep $TEST6_IP - > /dev/null || { gnunet-arm -e -c test_gns_lookup.conf ; echo "IPv6 for gnunet.org not found, skipping test"; exit 77; } 51echo $OUT | grep $TEST_IP6 - > /dev/null || { gnunet-arm -e -c test_gns_lookup.conf ; echo "IPv6 for gnunet.org not found ($OUT), skipping test"; exit 77; }
53 52
54 53
55gnunet-identity -C $MY_EGO -c test_gns_lookup.conf 54gnunet-identity -C $MY_EGO -c test_gns_lookup.conf