Fixed testcases on Windows.

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1577738 13f79535-47bb-0310-9956-ffa450edef68
Fixed testcases on Windows (merged from trunk)

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/branches/2.4.x@1577740 13f79535-47bb-0310-9956-ffa450edef68