diff options
author | Michael Boelen <michael@cisofy.com> | 2016-03-08 10:08:31 +0300 |
---|---|---|
committer | Michael Boelen <michael@cisofy.com> | 2016-03-08 10:08:31 +0300 |
commit | e9edd2dd0997e85264a657feff22c1baa748dd7a (patch) | |
tree | 222c4e2d04aa240e5d1703ded70a41444bf1d301 | |
parent | 607978a89d3b7205f642cc699acc367cb4b0d4a5 (diff) | |
parent | e40a3562fb861d5341f2964e7e14c005a2ab7722 (diff) |
Merge pull request #129 from rhyven/patch-3
Make NAME-4404 case-insensitive
-rw-r--r-- | include/tests_nameservices | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_nameservices b/include/tests_nameservices index 7f807618..4115f678 100644 --- a/include/tests_nameservices +++ b/include/tests_nameservices @@ -619,7 +619,7 @@ if [ ${SKIPTEST} -eq 0 ]; then LogText "Test: Check /etc/hosts contains an entry for this server name" if [ -f /etc/hosts ]; then - sFIND=`egrep -v '^(#|$|^::1\s|localhost)' /etc/hosts | grep ${HOSTNAME}` + sFIND=`egrep -v '^(#|$|^::1\s|localhost)' /etc/hosts | grep -i ${HOSTNAME}` if [ "${sFIND}" != "" ]; then LogText "Result: Found entry for ${HOSTNAME} in /etc/hosts" Display --indent 4 --text "- Checking /etc/hosts (hostname)" --result OK --color GREEN |