[libdist-zilla-role-bootstrap-perl] 06/06: Add a 2 second delay between mkpaths to make sure they have a notable time difference on filesystems that lack subsecond precision

Axel Beckert abe at deuxchevaux.org
Sat Aug 8 11:58:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to annotated tag 0.2.0-source
in repository libdist-zilla-role-bootstrap-perl.

commit 3fedf861d2c903d6a1aa9a9d30cb705c8b8689b9
Author: Kent Fredric <kentfredric at gmail.com>
Date:   Sun Sep 22 00:28:57 2013 +1200

    Add a 2 second delay between mkpaths to make sure they have a notable time difference on filesystems that lack subsecond precision
---
 t/02-try-built-mtime.t | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/t/02-try-built-mtime.t b/t/02-try-built-mtime.t
index c18c8b3..34b1f79 100644
--- a/t/02-try-built-mtime.t
+++ b/t/02-try-built-mtime.t
@@ -44,7 +44,9 @@ use File::Copy::Recursive qw(rcopy);
 rcopy "$source", "$scratch";
 
 $scratch->child("Example-0.01")->child('lib')->mkpath;
+sleep 2;
 $scratch->child("Example-0.10")->child('lib')->mkpath;
+sleep 2;
 $scratch->child("Example-0.05")->child('lib')->mkpath;
 
 chdir $scratch->stringify;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-role-bootstrap-perl.git



More information about the Pkg-perl-cvs-commits mailing list