r55834 - in /trunk/libpar-packer-perl/debian: changelog patches/Fix-t-30-current_exec.t-failing-when-cwd-contains-re.patch patches/series
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Fri Apr 9 20:53:10 UTC 2010
Author: dmn
Date: Fri Apr 9 20:53:02 2010
New Revision: 55834
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=55834
Log:
apply patch from Niko Tyni fixing tests when build directory contains
regular expression metacharacters. Closes: #577121
Added:
trunk/libpar-packer-perl/debian/patches/Fix-t-30-current_exec.t-failing-when-cwd-contains-re.patch
Modified:
trunk/libpar-packer-perl/debian/changelog
trunk/libpar-packer-perl/debian/patches/series
Modified: trunk/libpar-packer-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpar-packer-perl/debian/changelog?rev=55834&op=diff
==============================================================================
--- trunk/libpar-packer-perl/debian/changelog (original)
+++ trunk/libpar-packer-perl/debian/changelog Fri Apr 9 20:53:02 2010
@@ -1,3 +1,10 @@
+libpar-packer-perl (1.002-2) UNRELEASED; urgency=low
+
+ * apply patch from Niko Tyni fixing tests when build directory contains
+ regular expression metacharacters. Closes: #577121
+
+ -- Damyan Ivanov <dmn at debian.org> Fri, 09 Apr 2010 23:50:05 +0300
+
libpar-packer-perl (1.002-1) unstable; urgency=low
* New upstream release
Added: trunk/libpar-packer-perl/debian/patches/Fix-t-30-current_exec.t-failing-when-cwd-contains-re.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpar-packer-perl/debian/patches/Fix-t-30-current_exec.t-failing-when-cwd-contains-re.patch?rev=55834&op=file
==============================================================================
--- trunk/libpar-packer-perl/debian/patches/Fix-t-30-current_exec.t-failing-when-cwd-contains-re.patch (added)
+++ trunk/libpar-packer-perl/debian/patches/Fix-t-30-current_exec.t-failing-when-cwd-contains-re.patch Fri Apr 9 20:53:02 2010
@@ -1,0 +1,27 @@
+From d61a057ca49d33db816b8f4ea2a3716904679219 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Fri, 9 Apr 2010 22:28:50 +0300
+Subject: [PATCH] Fix t/30-current_exec.t failing when cwd contains regexp metacharacters
+
+As TEMPDIR contains the build directory name, it may have regexp
+metacharacter like '+' in that need escaping.
+---
+ t/30-current_exec.t | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/t/30-current_exec.t b/t/30-current_exec.t
+index 4801543..d5baffe 100644
+--- a/t/30-current_exec.t
++++ b/t/30-current_exec.t
+@@ -43,7 +43,7 @@ ok( (-f $EXEC), "Created \"$EXEC\"" )
+ $ENV{PAR_GLOBAL_TMPDIR} = $TEMP;
+ my $out_full = qx($EXEC);
+
+-ok( ($out_full =~ /PAR_TEMP = $TEMP/), "Respected PAR_GLOBAL_TMPDIR" );
++ok( ($out_full =~ /PAR_TEMP = \Q$TEMP\E/), "Respected PAR_GLOBAL_TMPDIR" );
+
+ my( $file, $path ) = fileparse( $EXEC );
+
+--
+1.7.0.4
+
Modified: trunk/libpar-packer-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpar-packer-perl/debian/patches/series?rev=55834&op=diff
==============================================================================
--- trunk/libpar-packer-perl/debian/patches/series (original)
+++ trunk/libpar-packer-perl/debian/patches/series Fri Apr 9 20:53:02 2010
@@ -1,3 +1,4 @@
fix-pod-spelling.patch
01_manpage-ext.patch
fix-with-new-par-name
+Fix-t-30-current_exec.t-failing-when-cwd-contains-re.patch
More information about the Pkg-perl-cvs-commits
mailing list