[libshell-perl-perl] 10/12: Mark package as autopkgtest-able.
gregor herrmann
gregoa at debian.org
Sat Jan 21 19:30:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libshell-perl-perl.
commit a46bf094942e7280aea0cc113820cf5dbc98f652
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Jan 21 20:28:31 2017 +0100
Mark package as autopkgtest-able.
---
debian/patches/autopkgtest.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..9f60075
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,16 @@
+Description: change path to script when run under autopkgtest
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-01-21
+
+--- a/t/11version.t
++++ b/t/11version.t
+@@ -2,6 +2,7 @@
+ use Test::More tests => 8;
+
+ my @pirl = ( $^X, '-Mblib', 'blib/script/pirl' );
++ at pirl = ( $^X, '/usr/bin/pirl' ) if $ENV{ADTTMP};
+
+ use IPC::Cmd qw( run );
+ use Test::Deep;
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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libshell-perl-perl.git
More information about the Pkg-perl-cvs-commits
mailing list