[lintian] 01/01: t: Fix issue with perl5 vendor in stable
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit a64975058d85432088a5ff57225cd57316b34eb0
Author: Niels Thykier <niels@thykier.net>
Date: Sun Aug 24 14:03:19 2014 +0200
t: Fix issue with perl5 vendor in stable
Signed-off-by: Niels Thykier <niels@thykier.net>
---
t/tests/legacy-filenames/post_test | 2 +-
t/tests/legacy-libbaz/post_test | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/tests/legacy-filenames/post_test b/t/tests/legacy-filenames/post_test
index a3d58ec..091fc4d 100644
--- a/t/tests/legacy-filenames/post_test
+++ b/t/tests/legacy-filenames/post_test
@@ -1,2 +1,2 @@
s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/
-s,usr/lib/[^\/]*/perl[0-9]*/[0-9]*\.[0-9]*/,usr/lib/ma-dir/perl/version/,g
+s,usr/lib/([^\/]*)?/perl[0-9]*(/[0-9]*\.[0-9]*)?/,usr/lib/ma-dir/perl/version/,g
diff --git a/t/tests/legacy-libbaz/post_test b/t/tests/legacy-libbaz/post_test
index f69cb05..3d2f682 100755
--- a/t/tests/legacy-libbaz/post_test
+++ b/t/tests/legacy-libbaz/post_test
@@ -1,3 +1,3 @@
/: hardening-.*/ d
s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/
-s,usr/lib/[^\/]*/perl[0-9]*/[0-9]*\.[0-9]*/,usr/lib/ma-dir/perl/version/,g
+s,usr/lib/([^\/]*)?/perl[0-9]*(/[0-9]*\.[0-9]*)?/,usr/lib/ma-dir/perl/version/,g
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: