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

gregoa pushed a commit to branch master
in repository libcpan-sqlite-perl.

commit 33849e4f4b27405314c8615508bd8a8569cc1ffc
Author: gregor herrmann <gre...@debian.org>
Date:   Thu Jul 30 17:25:56 2015 +0200

    Add patch to test installed script when running under autopkgtest.
---
 debian/patches/autopkgtest.patch | 19 +++++++++++++++++++
 debian/patches/series            |  1 +
 debian/tests/pkg-perl/test-files |  2 --
 3 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..d55d214
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,19 @@
+Description: test installed script when running under autopkgtest
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2015-07-30
+
+--- a/t/00-compile.t
++++ b/t/00-compile.t
+@@ -22,8 +22,9 @@
+     'CPAN/SQLite/Util.pm'
+ );
+ 
++my $bindir = $ENV{ADTTMP} ? '/usr/bin' : 'bin';
+ my @scripts = (
+-    'bin/cpandb'
++    "$bindir/cpandb"
+ );
+ 
+ # no fake home requested
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..aba7ccb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+autopkgtest.patch
diff --git a/debian/tests/pkg-perl/test-files b/debian/tests/pkg-perl/test-files
index e1972a5..0e218d2 100644
--- a/debian/tests/pkg-perl/test-files
+++ b/debian/tests/pkg-perl/test-files
@@ -1,4 +1,2 @@
 t/
-bin/
-META.yaml
 META.json

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcpan-sqlite-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to