[libio-socket-timeout-perl] 07/09: Mark package as autopkgtest-able.
gregor herrmann
gregoa at debian.org
Sat Jul 11 19:39:56 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libio-socket-timeout-perl.
commit 2c31b68f5ca4107edffe1be48c7b06a17f83ea38
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Jul 11 21:29:27 2015 +0200
Mark package as autopkgtest-able.
---
debian/control | 1 +
debian/patches/autopkgtest.patch | 38 ++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 40 insertions(+)
diff --git a/debian/control b/debian/control
index eb72a74..77feab7 100644
--- a/debian/control
+++ b/debian/control
@@ -2,6 +2,7 @@ Source: libio-socket-timeout-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: gregor herrmann <gregoa at debian.org>
Section: perl
+Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 9.20140227~),
libmodule-build-tiny-perl,
diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..f9487ee
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,38 @@
+Description: when run with autopktest, the files are not in lib/
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-07-11
+
+--- a/t/preload.t
++++ b/t/preload.t
+@@ -10,25 +10,25 @@
+ 'INC contains composed class IO::Socket::Unix with SetSockOpt role"';
+
+ like($INC{'IO/Socket/Unix__with__IO/Socket/Timeout/Role/SetSockOpt.pm'},
+- qr|lib/IO/Socket/Timeout\.pm$|, 'file name is ok');
++ qr|IO/Socket/Timeout\.pm$|, 'file name is ok');
+
+ ok exists($INC{'IO/Socket/Unix__with__IO/Socket/Timeout/Role/PerlIO.pm'}),
+ 'INC contains composed class IO::Socket::Unix with PerlIO role"';
+
+ like($INC{'IO/Socket/Unix__with__IO/Socket/Timeout/Role/PerlIO.pm'},
+- qr|lib/IO/Socket/Timeout\.pm$|, 'file name is ok');
++ qr|IO/Socket/Timeout\.pm$|, 'file name is ok');
+
+ ok exists($INC{'IO/Socket/INET__with__IO/Socket/Timeout/Role/SetSockOpt.pm'}),
+ 'INC contains composed class IO::Socket::INET with SetSockOpt role"';
+
+ like($INC{'IO/Socket/INET__with__IO/Socket/Timeout/Role/SetSockOpt.pm'},
+- qr|lib/IO/Socket/Timeout\.pm$|, 'file name is ok');
++ qr|IO/Socket/Timeout\.pm$|, 'file name is ok');
+
+ ok exists ($INC{'IO/Socket/INET__with__IO/Socket/Timeout/Role/PerlIO.pm'}),
+ 'INC contains composed class IO::Socket::INET with PerlIO role"';
+
+ like($INC{'IO/Socket/INET__with__IO/Socket/Timeout/Role/PerlIO.pm'},
+- qr|lib/IO/Socket/Timeout\.pm$|, 'file name is ok');
++ qr|IO/Socket/Timeout\.pm$|, 'file name is ok');
+
+
+
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/libio-socket-timeout-perl.git
More information about the Pkg-perl-cvs-commits
mailing list