From: gmungoc Date: Thu, 21 Mar 2019 15:44:48 +0000 (+0000) Subject: JAL-1889 added belt and braces deleteOnExit() to test output file X-Git-Tag: Release_2_11_0~17^2~37 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=fe89eb16394e69db5448f386de6402850286418b;p=jalview.git JAL-1889 added belt and braces deleteOnExit() to test output file --- diff --git a/test/jalview/bin/CommandLineOperations.java b/test/jalview/bin/CommandLineOperations.java index e878e25..c7b1d53 100644 --- a/test/jalview/bin/CommandLineOperations.java +++ b/test/jalview/bin/CommandLineOperations.java @@ -250,6 +250,7 @@ public class CommandLineOperations String cmd = harg + type + " " + fileName; // System.out.println(">>>>>>>>>>>>>>>> Command : " + cmd); File file = new File(fileName); + file.deleteOnExit(); Worker worker = getJalviewDesktopRunner(withAWT, cmd, timeout); assertNotNull(worker, "worker is null"); String msg = "Didn't create an output" + type + " file.[" + harg + "]";