localFs.delete(new Path(TEST_ROOT_DIR + "/out"), true);
writeFile("in/part1", "this is a test\nof " +
"multi file word count test\ntest\n");
writeFile("in/part2", "more test");
int ret = ToolRunner.run(conf, new MultiFileWordCount(),
new String[] {TEST_ROOT_DIR + "/in", TEST_ROOT_DIR + "/out"});
assertTrue("MultiFileWordCount failed", ret == 0);
String out = readFile("out/part-r-00000");
System.out.println(out);
assertEquals("a\t1\ncount\t1\nfile\t1\nis\t1\n" +