164165166167168169170171172173174
} catch(Throwable t) { fail("Wrong exception thrown: " + t); } finally { fs.terminate(); } } /** Should be able to catch an error from a forked script exactly like * you would from a regular one.
197198199200201202203204205206207
} catch(Throwable thr) { fail("Wrong error: " + thr); } finally { fs.terminate(); } } /** Ensure the forked script has the same directory root as the * original.