diff --git ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java index ddcc544..a787aee 100644 --- ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java +++ ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java @@ -1087,10 +1087,6 @@ private void maskPatterns(Pattern[] patterns, String fname) throws Exception { in = new BufferedReader(new FileReader(fname)); out = new BufferedWriter(new FileWriter(fname + ".orig")); while (null != (line = in.readLine())) { - // Ignore the empty lines on windows - if(line.isEmpty() && Shell.WINDOWS) { - continue; - } out.write(line); out.write('\n'); }