[libmetabase-fact-perl] 01/03: Fix autopkgtests.

gregor herrmann gregoa at debian.org
Wed Aug 2 14:40:05 UTC 2017


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

gregoa pushed a commit to branch master
in repository libmetabase-fact-perl.

commit 12b74b87dbcddf3f20ced3fedefc3f70e30451a6
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Aug 2 10:35:35 2017 -0400

    Fix autopkgtests.
    
    Add apatch to adjust a path in a test.
---
 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..ad3069f
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,16 @@
+Description: change path to binary when run under autopkgtest
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-08-02
+
+--- a/t/user/profile.t
++++ b/t/user/profile.t
+@@ -75,6 +75,7 @@
+ 
+ # try profile-generator
+ my $bin = File::Spec->rel2abs( File::Spec->catfile(qw/bin metabase-profile/) );
++$bin = '/usr/bin/metabase-profile' if $ENV{ADTTMP};
+ my $cwd = Cwd::cwd();
+ chdir $tempdir;
+ END { chdir $cwd }
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/libmetabase-fact-perl.git



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