Repository: hive Updated Branches: refs/heads/master cf72246f9 -> 4eed1add2
HIVE-10664 : Unit tests run fail in windows because of illegal escape character in file path (Hari Subramaniyan, reviewed by Thejas Nair, Sushanth Sowmyan) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/1fd46cd3 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/1fd46cd3 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/1fd46cd3 Branch: refs/heads/master Commit: 1fd46cd33c688acb24a484de8b7933f8ad693ecc Parents: cf72246 Author: Sushanth Sowmyan <khorg...@gmail.com> Authored: Wed May 20 15:20:59 2015 -0700 Committer: Sushanth Sowmyan <khorg...@gmail.com> Committed: Wed May 20 15:28:46 2015 -0700 ---------------------------------------------------------------------- ant/src/org/apache/hadoop/hive/ant/QTestGenTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/1fd46cd3/ant/src/org/apache/hadoop/hive/ant/QTestGenTask.java ---------------------------------------------------------------------- diff --git a/ant/src/org/apache/hadoop/hive/ant/QTestGenTask.java b/ant/src/org/apache/hadoop/hive/ant/QTestGenTask.java index 60c7764..b3315c7 100644 --- a/ant/src/org/apache/hadoop/hive/ant/QTestGenTask.java +++ b/ant/src/org/apache/hadoop/hive/ant/QTestGenTask.java @@ -455,7 +455,7 @@ public class QTestGenTask extends Task { } File qFileNames = new File(outputDirectory, className + "QFileNames.txt"); - String qFileNamesFile = qFileNames.getCanonicalPath(); + String qFileNamesFile = qFileNames.toURI().getPath(); if (qFileNames.exists()) { if (!qFileNames.delete()) {