From b65ce285e0313529b9561da211ed3f9624cd122c Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Jul 22 2012 07:53:52 +0000 Subject: YES in networking file might be quoted or have spaces --- diff --git a/tests/p_network/networking_enabled_test.sh b/tests/p_network/networking_enabled_test.sh index fbc1c1c..84e54c2 100755 --- a/tests/p_network/networking_enabled_test.sh +++ b/tests/p_network/networking_enabled_test.sh @@ -3,7 +3,7 @@ t_Log "Running $0 - Check if networking is enabled." -grep -q 'NETWORKING=yes' /etc/sysconfig/network +grep -Eqi "NETWORKING=.*yes" /etc/sysconfig/network t_CheckExitStatus $?