[libpar-packer-perl] 04/07: Update autopkgtest.patch.

gregor herrmann gregoa at debian.org
Mon Jan 9 20:18:07 UTC 2017


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

gregoa pushed a commit to branch master
in repository libpar-packer-perl.

commit b662da5e449ec9d13754a4c4ad642c2706c7133e
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Jan 9 21:10:56 2017 +0100

    Update autopkgtest.patch.
---
 debian/patches/autopkgtest.patch | 32 ++++++++++++++++++--------------
 1 file changed, 18 insertions(+), 14 deletions(-)

diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
index 37db375..ef4e074 100644
--- a/debian/patches/autopkgtest.patch
+++ b/debian/patches/autopkgtest.patch
@@ -2,27 +2,31 @@ Description: adjust paths when run under autopkgtest
 Origin: vendor
 Forwarded: not needed
 Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2016-01-16
+Last-Update: 2017-01-09
 
 --- a/t/30-current_exec.t
 +++ b/t/30-current_exec.t
-@@ -22,6 +22,8 @@ my $SCRIPT = File::Spec->catdir( $FindBi
- my $PP = File::Spec->catfile( $SCRIPT, 'pp' );
- my $blib_lib = File::Spec->catdir("blib", "lib");
- 
+@@ -21,7 +21,9 @@
+ ####
+ diag( "Please wait" );
+ my $test_proc = catfile(qw(t test-proc));
+-system $^X, catfile(qw( blib script pp )),
++my $PP = catfile(qw( blib script pp ));
 +$PP = '/usr/bin/pp' if $ENV{ADTTMP};
-+
- my $sep = $Config{path_sep};
- $sep = ':' if not defined $sep;
- $blib_lib .= $sep if $ENV{PERL5LIB};
++system $^X, $PP,
+        '-o', $EXE, $test_proc;
+ 
+ ok( (-f $EXE), "Created \"$EXE\"" ) 
 --- a/t/90-rt59710.t
 +++ b/t/90-rt59710.t
-@@ -17,6 +17,8 @@ $ENV{PAR_TMPDIR} = File::Temp::tempdir(T
- my $EXE = File::Spec->catfile($ENV{PAR_TMPDIR},"rt59710$Config{_exe}");
- my $PP = File::Spec->catfile(qw( blib script pp ));
+@@ -16,7 +16,9 @@
+ 
+ my $EXE = catfile($ENV{PAR_TMPDIR},"rt59710$Config{_exe}");
  
+-system $^X, catfile(qw( blib script pp )),
++my $PP = catfile(qw( blib script pp ));
 +$PP = '/usr/bin/pp' if $ENV{ADTTMP};
-+
- system $^X, $PP, 
++system $^X, $PP,
      -o => $EXE, 
      -e => 'use Unicode::UCD qw(charinfo); my $i = charinfo(0x42); print $i->{name};';
+ ok( $? == 0 && -f $EXE, qq[successfully packed "$EXE"] ) 

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



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