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 | |
parent | ee86e7da4e809a34db7fbefa5a579f8bd787009b (diff) | |
download | gnunet-963cdcfe33adfb00c18bbcbf2f93ff363d27fa01.tar.gz gnunet-963cdcfe33adfb00c18bbcbf2f93ff363d27fa01.zip |
fix testcases, do not skip needlessly (typos)
Diffstat (limited to 'src')
-rwxr-xr-x | src/gns/test_gns_gns2dns_cname_lookup.sh | 7 | ||||
-rwxr-xr-x | src/gns/test_gns_gns2dns_lookup.sh | 4 |
2 files changed, 5 insertions, 6 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 |
diff --git a/src/gns/test_gns_gns2dns_lookup.sh b/src/gns/test_gns_gns2dns_lookup.sh index 431f01086..24fb36b9d 100755 --- a/src/gns/test_gns_gns2dns_lookup.sh +++ b/src/gns/test_gns_gns2dns_lookup.sh | |||
@@ -50,8 +50,8 @@ which timeout &> /dev/null && DO_TIMEOUT="timeout 15" | |||
50 | gnunet-arm -s -c test_gns_lookup.conf | 50 | gnunet-arm -s -c test_gns_lookup.conf |
51 | 51 | ||
52 | OUT=`$DO_TIMEOUT gnunet-resolver -c test_gns_lookup.conf gnunet.org` | 52 | OUT=`$DO_TIMEOUT gnunet-resolver -c test_gns_lookup.conf gnunet.org` |
53 | 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; } | 53 | 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; } |
54 | 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; } | 54 | 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; } |
55 | 55 | ||
56 | 56 | ||
57 | 57 | ||