[libdbd-xbase-perl] 12/13: Add patch to make tests pass when run during autopktest.

gregor herrmann gregoa at debian.org
Mon Mar 7 22:54:08 UTC 2016


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

gregoa pushed a commit to branch master
in repository libdbd-xbase-perl.

commit addf884930e2d546a0cc46188759f9f6f9947b1a
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Mar 7 23:51:22 2016 +0100

    Add patch to make tests pass when run during autopktest.
---
 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..afa48c3
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,16 @@
+Description: the script is in /usr/bin during autopkgtest
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-03-07
+
+--- a/t/4_dbfdump.t
++++ b/t/4_dbfdump.t
+@@ -10,6 +10,7 @@
+ my $libs = join " -I", '', @INC;
+ 
+ my $dbfdump = "$dir/blib/script/dbfdump";
++$dbfdump = '/usr/bin/dbf_dump' if $ENV{ADTTMP};
+ 
+ my $expected = join '', <DATA>;
+ my $result = '';
diff --git a/debian/patches/series b/debian/patches/series
index 39c0987..91b3be9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 underline-dump.patch
 pod_spelling.patch
+autopkgtest.patch

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



More information about the Pkg-perl-cvs-commits mailing list