summaryrefslogtreecommitdiff
path: root/src/gns/test_gns_mx_lookup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_mx_lookup.sh')
-rwxr-xr-xsrc/gns/test_gns_mx_lookup.sh4
1 files changed, 4 insertions, 0 deletions
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
gnunet-arm -e -c test_gns_lookup.conf
rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME`
+# make cmp case-insensitive by converting to lower case first
+RES_MX=`echo $RES_MX | tr [A-Z] [a-z]`
+WANT_MX=`echo $WANT_MX | tr [A-Z] [a-z]`
+
if [ "$RES_MX" == "$WANT_MX" ]
then
exit 0