Skip to content

Commit

Permalink
HIVE-10664 : Unit tests run fail in windows because of illegal escape…
Browse files Browse the repository at this point in the history
… character in file path (Hari Subramaniyan, reviewed by Thejas Nair, Sushanth Sowmyan)
  • Loading branch information
khorgath committed May 20, 2015
1 parent cf72246 commit 1fd46cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ant/src/org/apache/hadoop/hive/ant/QTestGenTask.java
Expand Up @@ -455,7 +455,7 @@ public void execute() throws BuildException {
}

File qFileNames = new File(outputDirectory, className + "QFileNames.txt");
String qFileNamesFile = qFileNames.getCanonicalPath();
String qFileNamesFile = qFileNames.toURI().getPath();

if (qFileNames.exists()) {
if (!qFileNames.delete()) {
Expand Down

0 comments on commit 1fd46cd

Please sign in to comment.