[liblingua-translit-perl] 03/03: add autopkgtest.patch
gregor herrmann
gregoa at debian.org
Fri Oct 30 15:52:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository liblingua-translit-perl.
commit 5f5ab1a8559c6e725392000546a5ecfe423481f7
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Oct 30 16:44:24 2015 +0100
add autopkgtest.patch
t/03_translit.t doesn't find the script
Gbp-Dch: Ignore
---
debian/patches/autopkgtest.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..421df8e
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,18 @@
+Description: adjust path to script when run under autopkgtest
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-10-30
+
+--- a/t/03_translit.t
++++ b/t/03_translit.t
+@@ -3,7 +3,8 @@
+
+ my $truth;
+
+-my $script = "./blib/script/translit";
++my $bindir = $ENV{ADTTMP} ? '/usr/bin' : './blib/script';
++my $script = "$bindir/translit";
+
+
+ $truth = -e $script;
diff --git a/debian/patches/series b/debian/patches/series
index cbe687a..36f4483 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix_spelling-errors-in-manpage.patch
+autopkgtest.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblingua-translit-perl.git
More information about the Pkg-perl-cvs-commits
mailing list