From: Darren Chamberlain Date: Thu, 6 Nov 2003 13:52:58 +0000 (+0000) Subject: Added explicit unlink of the temp file; it wasn't always being deleted. X-Git-Tag: v0.04~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2d6dd8a94dc17dac735622efd6423e4fa761c8aa;p=dbsrgits%2FSQL-Translator.git Added explicit unlink of the temp file; it wasn't always being deleted. --- diff --git a/t/09sqlt-diagram.t b/t/09sqlt-diagram.t index 88ff610..eaa3430 100644 --- a/t/09sqlt-diagram.t +++ b/t/09sqlt-diagram.t @@ -39,4 +39,5 @@ if ($@ && $@ =~ /locate GD.pm in /) { eval { system(@cmd); }; ok(!$@ && ($? == 0)); ok(-e $tmp); + eval { unlink $tmp; }; }