Verify DNS servers when eth0 or eth1 configured DNS

Change-Id: Idbb470fe01cfb18ecd43fc4b214f5be1db139ea4
Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
diff --git a/redfish/managers/test_bmc_network_conf.robot b/redfish/managers/test_bmc_network_conf.robot
index 7441507..987ee0f 100644
--- a/redfish/managers/test_bmc_network_conf.robot
+++ b/redfish/managers/test_bmc_network_conf.robot
@@ -697,11 +697,8 @@
     ${resolve_conf_nameservers}=  CLI Get Nameservers
     Rqprint Vars  redfish_nameservers  resolve_conf_nameservers
 
-    # Check that the 2 lists are equivalent.
-    ${match}=  Evaluate  set($redfish_nameservers) == set($resolve_conf_nameservers)
-    Should Be True  ${match}
-    ...  The nameservers obtained via Redfish do not match those found in /etc/resolv.conf.
-
+    List Should Contain Sub List  ${resolve_conf_nameservers}  ${redfish_nameservers}
+    ...  msg=The nameservers obtained via Redfish do not match those found in /etc/resolv.conf.
 
 Configure Static Name Servers
     [Documentation]  Configure DNS server on BMC.