[dh-make-perl] 01/03: t/dists.t: check for $ENV{ADTTMP} in all dh-make-perl invocations.

gregor herrmann gregoa at debian.org
Sun Oct 19 15:53:41 UTC 2014


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

gregoa pushed a commit to branch master
in repository dh-make-perl.

commit a24faa28ee4e5b2ad0a72e072c319db44747bec9
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Oct 19 17:43:50 2014 +0200

    t/dists.t: check for $ENV{ADTTMP} in all dh-make-perl invocations.
---
 t/dists.t | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/t/dists.t b/t/dists.t
index c4f9061..cfda796 100755
--- a/t/dists.t
+++ b/t/dists.t
@@ -150,7 +150,8 @@ sub dist_ok($) {
 
     run_and_compare {
         run => [
-            "$Bin/../dh-make-perl", "--no-verbose",
+            $ENV{ADTTMP} ? 'dh-make-perl' : "$Bin/../dh-make-perl",
+            "--no-verbose",
             "--home-dir",           "$Bin/contents",
             "--apt-contents-dir",   "$Bin/contents",
             "--data-dir",           "$Bin/../share",
@@ -174,7 +175,8 @@ sub dist_ok($) {
 
     run_and_compare {
         run => [
-            "$Bin/../dh-make-perl", "--no-verbose",
+            $ENV{ADTTMP} ? 'dh-make-perl' : "$Bin/../dh-make-perl",
+            "--no-verbose",
             "--home-dir",           "$Bin/contents",
             "--apt-contents-dir",   "$Bin/contents",
             "--data-dir",           "$Bin/../share",
@@ -202,7 +204,8 @@ sub dist_ok($) {
 
     run_and_compare {
         run => [
-            "$Bin/../dh-make-perl", "--no-verbose",
+            $ENV{ADTTMP} ? 'dh-make-perl' : "$Bin/../dh-make-perl",
+            "--no-verbose",
             "--home-dir",           "$Bin/contents",
             "--apt-contents-dir",   "$Bin/contents",
             "--data-dir",           "$Bin/../share",

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



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