diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-03 22:11:42 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-03 22:11:42 +0100 |
commit | 31cc8a750f8df10f0a69a8ba9db08a15efa2f415 (patch) | |
tree | bee823242daddc0a4e10987170f5ea6bbb09d316 /src/gns/test_gns_cname_lookup.sh | |
parent | 30ecc23f94aff98f1cfde23a82b455693f8aec15 (diff) | |
download | gnunet-31cc8a750f8df10f0a69a8ba9db08a15efa2f415.tar.gz gnunet-31cc8a750f8df10f0a69a8ba9db08a15efa2f415.zip |
change cmp to be case-insensitive (to get tests to pass)
Diffstat (limited to 'src/gns/test_gns_cname_lookup.sh')
-rwxr-xr-x | src/gns/test_gns_cname_lookup.sh | 3 |
1 files changed, 3 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" |