diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-01-11 22:20:31 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-01-11 22:22:40 +0100 |
commit | 963cdcfe33adfb00c18bbcbf2f93ff363d27fa01 (patch) | |
tree | 12b75c67f7bb7be32522f2ddff67b93a806447be /src/gns/test_gns_gns2dns_cname_lookup.sh | |
parent | ee86e7da4e809a34db7fbefa5a579f8bd787009b (diff) | |
download | gnunet-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-x | src/gns/test_gns_gns2dns_cname_lookup.sh | 7 |
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 | ||
46 | which timeout &> /dev/null && DO_TIMEOUT="timeout 15" | 46 | which timeout &> /dev/null && DO_TIMEOUT="timeout 15" |
47 | 47 | ||
48 | |||
49 | gnunet-arm -s -c test_gns_lookup.conf | 48 | gnunet-arm -s -c test_gns_lookup.conf |
50 | 49 | OUT=`$DO_TIMEOUT gnunet-resolver -c test_gns_lookup.conf gnunet.org` | |
51 | echo $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; } | 50 | echo $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; } |
52 | echo $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; } | 51 | echo $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 | ||
55 | gnunet-identity -C $MY_EGO -c test_gns_lookup.conf | 54 | gnunet-identity -C $MY_EGO -c test_gns_lookup.conf |