File: autopkgtest.patch

package info (click to toggle)
libmetabase-fact-perl 0.025-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 360 kB
  • sloc: perl: 1,076; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 462 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: change path to binary when run under autopkgtest
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@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{AUTOPKGTEST_TMP};
 my $cwd = Cwd::cwd();
 chdir $tempdir;
 END { chdir $cwd }