diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/gns/test_gns_cname_lookup.sh | 3 | ||||
-rwxr-xr-x | src/gns/test_gns_mx_lookup.sh | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/gns/test_gns_cname_lookup.sh b/src/gns/test_gns_cname_lookup.sh index f6b7a842d..de575c561 100755 --- a/src/gns/test_gns_cname_lookup.sh +++ b/src/gns/test_gns_cname_lookup.sh | |||
@@ -54,6 +54,9 @@ gnunet-identity -D $MY_EGO -c test_gns_lookup.conf | |||
54 | gnunet-arm -e -c test_gns_lookup.conf | 54 | gnunet-arm -e -c test_gns_lookup.conf |
55 | rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` | 55 | rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` |
56 | 56 | ||
57 | # make cmp case-insensitive by converting to lower case first | ||
58 | RES_CNAME_RAW=`echo $RES_CNAME_RAW | tr [A-Z] [a-z]` | ||
59 | TESTEGOZONE=`echo $TESTEGOZONE | tr [A-Z] [a-z]` | ||
57 | if [ "$RES_CNAME_RAW" == "server.$TESTEGOZONE" ] | 60 | if [ "$RES_CNAME_RAW" == "server.$TESTEGOZONE" ] |
58 | then | 61 | then |
59 | echo "PASS: CNAME resolution from GNS" | 62 | echo "PASS: CNAME resolution from GNS" |
diff --git a/src/gns/test_gns_mx_lookup.sh b/src/gns/test_gns_mx_lookup.sh index 3a360494b..79ac37b0a 100755 --- a/src/gns/test_gns_mx_lookup.sh +++ b/src/gns/test_gns_mx_lookup.sh | |||
@@ -31,6 +31,10 @@ gnunet-identity -D $MY_EGO -c test_gns_lookup.conf | |||
31 | gnunet-arm -e -c test_gns_lookup.conf | 31 | gnunet-arm -e -c test_gns_lookup.conf |
32 | rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` | 32 | rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` |
33 | 33 | ||
34 | # make cmp case-insensitive by converting to lower case first | ||
35 | RES_MX=`echo $RES_MX | tr [A-Z] [a-z]` | ||
36 | WANT_MX=`echo $WANT_MX | tr [A-Z] [a-z]` | ||
37 | |||
34 | if [ "$RES_MX" == "$WANT_MX" ] | 38 | if [ "$RES_MX" == "$WANT_MX" ] |
35 | then | 39 | then |
36 | exit 0 | 40 | exit 0 |