From fe89eb16394e69db5448f386de6402850286418b Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 21 Mar 2019 15:44:48 +0000 Subject: [PATCH] JAL-1889 added belt and braces deleteOnExit() to test output file --- test/jalview/bin/CommandLineOperations.java | 1 + 1 file changed, 1 insertion(+) 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 + "]"; -- 1.7.10.2