}
};
// FIXME add a timeout
p.waitFor();
assertEquals("Wrong exit value", 0, p.exitValue());
handler.waitFor();
assertEquals("Wrong output from subprocess",
OUTPUT_TEXT + LS, sb.toString());
assertEquals("Wrong error from subprocess",
ERROR_TEXT + LS, sbe.toString());
}