I reverted the hosts.xml file changes and changed the function 
getHostNameAttribute to:

function getHostNameAttribute(hostNode) {
    var hostNameAttribute = "^" + hostNode.getAttribute("name") + "$"
    return hostNameAttribute;
}

Which now results in the following "test4_hosts_nodes" tests to fail:

11, 12, 15, 16, 21 - 29

----

Removing the begin and end markers results in the following "test4_hosts_nodes" 
tests to fail:

10, 20-23, 25-27

----

The conclusion is, that the additional check, using the begin and end markers, 
must be included to have all tests succeed without
the need to change the hosts.xml files.

This should make sure the legacy "spongy" host matching behavior is duplicated.

---
Stefan

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to