The class instead provides an empty tearDown method - which means that none of the processes created are destroyed if things fail. Looking at the code: public void testHaveSysRoot() { if (unresolved(5657)) return; File testSysRootDir = Config.getPkgDataFile("test-sysroot"); File testPath = Config.getPkgLibFile("funit-addresses"); child = new Expect(new String[] { Config.getBinFile("fhpd").getAbsolutePath(), "-sysroot", testSysRootDir.getAbsolutePath(), testSysRootDir.getAbsolutePath() + "/" + testPath }); perhaps HpdTestbed can to be extended to better support this, or knowing this is special, more closely follow what start does.
Move installation of test-sysroot to pkglibdir. * TestSysRoot.java (testHaveSysRoot): test-sysroot now lives in pkglibdir. Use sendCommandExpectPrompt.