[dh-make-perl] 03/03: do not fail AptContents.t with left over Contents.cache present
Damyan Ivanov
dmn at alioth.debian.org
Thu Aug 8 12:06:53 UTC 2013
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch master
in repository dh-make-perl.
commit 642fbfb6f133e538fcb0f0f656de1628ae0ee8be
Author: Damyan Ivanov <dmn at debian.org>
Date: Thu Aug 8 14:05:08 2013 +0200
do not fail AptContents.t with left over Contents.cache present
it could be there if tests are interrupted
---
t/AptContents.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/AptContents.t b/t/AptContents.t
index 5f8d1d0..4aec946 100755
--- a/t/AptContents.t
+++ b/t/AptContents.t
@@ -113,7 +113,7 @@ $apt_contents = instance();
is_deeply(
$apt_contents->contents_files,
- [ sort glob "$Bin/contents/*Contents*" ],
+ [ sort grep { !/Contents.cache/} glob "$Bin/contents/*Contents*" ],
'contents in a dir'
);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git
More information about the Pkg-perl-cvs-commits
mailing list