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

kanashiro-guest pushed a commit to branch master
in repository libtext-textile-perl.

commit a581193da73f6fd1a1c93806eb81a57c78b1e40d
Author: Lucas Kanashiro <kanashiro.dua...@gmail.com>
Date:   Sat Jan 2 16:10:18 2016 -0200

    Add a patch to fix autopkgtest
---
 debian/changelog                 |  1 +
 debian/patches/autopkgtest.patch | 16 ++++++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 18 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index cb08b86..6f11aa2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ libtext-textile-perl (2.13-2) UNRELEASED; urgency=medium
   * Bump debhelper compatibility level to 9
   * Declare compliance with Debian policy 3.9.6
   * Mark package as autopkgtestable
+  * Add a patch to fix autopkgtest
 
  -- Lucas Kanashiro <kanashiro.dua...@gmail.com>  Sat, 02 Jan 2016 15:22:27 
-0200
 
diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..cb4b928
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,16 @@
+Description: Fix test with installed version (autopkgtest)
+Author: Lucas Kanashiro <kanashiro.dua...@gmail.com>
+Last-Updated: 2016-01-02
+Forwarded: not-needed
+
+--- a/t/08bin_textile.t
++++ b/t/08bin_textile.t
+@@ -7,6 +7,8 @@ use File::Temp qw/ tempfile /;
+ # textile executable to use for the test
+ my $Textile_Exe = "blib/script/textile";
+ 
++$Textile_Exe = "/usr/bin/textile" if $ENV{ADTTMP};
++
+ my $in = "_Hi_ there";
+ my $expect_out = "<p><em>Hi</em> there</p>\n";
+ my $title = "My <blink>1337</blink> page";
diff --git a/debian/patches/series b/debian/patches/series
index 8810115..167094c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+autopkgtest.patch
 fix-spelling-error-in-manpage.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtext-textile-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