[Commits] [SCM] clawsker branch, master, updated. 1.3.3-4-g8b373a1
mones at claws-mail.org
mones at claws-mail.org
Sun Feb 21 21:13:27 UTC 2021
The branch, master has been updated
via 8b373a12eac7ca8ef0d5e9bd606962d668cdfde2 (commit)
from 56a110edd960fd51622bccf7be257b8d3bf8065b (commit)
Summary of changes:
t/get_claws_version.t | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
- Log -----------------------------------------------------------------
commit 8b373a12eac7ca8ef0d5e9bd606962d668cdfde2
Author: Ricardo Mones <ricardo at mones.org>
Date: Sun Feb 21 22:13:17 2021 +0100
Use tempdir() cleanup flag
diff --git a/t/get_claws_version.t b/t/get_claws_version.t
index 4c9d10c..b3627df 100644
--- a/t/get_claws_version.t
+++ b/t/get_claws_version.t
@@ -9,7 +9,7 @@ require_ok ('Clawsker');
my ($tempdir1, $claws1, $tempdir2, $claws2);
BEGIN {
- $tempdir1 = tempdir ();
+ $tempdir1 = tempdir (CLEANUP => 1);
$tempdir2 = "$tempdir1/with space";
$claws1 = "$tempdir1/claws-mail";
$claws2 = "$tempdir2/claws-mail";
@@ -22,12 +22,6 @@ BEGIN {
};
}
-END {
- qx {
- rm -rf $tempdir1
- };
-}
-
local %ENV;
$ENV{'PATH'} = $tempdir1;
-----------------------------------------------------------------------
hooks/post-receive
--
Hidden preferences editor for Claws Mail
More information about the Commits
mailing list