[pkg-perl-tools] 01/02: Remove full path from patch filename in github.t

Alex Muntada alexm-guest at moszumanska.debian.org
Sat Dec 3 17:11:56 UTC 2016


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

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit 858d820a66880d42749794944a3e0a9a66859184
Author: Alex Muntada <alexm at alexm.org>
Date:   Sat Dec 3 17:55:16 2016 +0100

    Remove full path from patch filename in github.t
    
    It must be relative to the package repository being worken on,
    so the Vcs-Browser URL points to the right place.
    
    Gbp-Dch: Ignore
---
 t/github.t | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/t/github.t b/t/github.t
index a04ddd0..2e4a68b 100644
--- a/t/github.t
+++ b/t/github.t
@@ -7,9 +7,8 @@ use Test::More;
 
 BEGIN {
     plan skip_all
-        => "Set AUTHOR_TESTING and DPT_PACKAGES to perform this test"
-        unless $ENV{AUTHOR_TESTING}
-        and -d $ENV{DPT_PACKAGES};
+        => "Set AUTHOR_TESTING to perform this test"
+        unless $ENV{AUTHOR_TESTING};
 
     plan skip_all
         => "GitHub tests require DPT_GITHUB_OAUTH token"
@@ -23,7 +22,7 @@ use Test::RequiresInternet ( 'github.com' => 22 );
 
 # Defaults
 my $tracker = 'https://github.com/alexm/pkg-perl-dummy/issues';
-my $patch   = "$ENV{DPT_PACKAGES}/pkg-perl-tools/t/dummy.txt.patch";
+my $patch   = 't/dummy.txt.patch';
 my $comment = "Test patch $^T";
 my $body    = 'Pull request by Debian pkg-perl team.';
 

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



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