Test case failure is due to CR(\r) carriage return character in new line. Output of command execution "hadoop fs -help find" on windows is having both \r\n characters in new line. Expected output string is taken from testConf.xml, this will only have \n characters for new line. XML Parser (SAX) will normalize new line on all platforms.
Due to this difference in newline characters, test output comparison is failing.
RegexpAcrossOutputComparator was intended for comparing multi-line outputs. I have modified it to cleanup \r from input parameters before doing regex comparison.
actual = actual.replaceAll("\\r", "");
expected = expected.replaceAll("\\r", "");
After this modification test cases are passing,
Review the fix.