r73744 - in /branches/upstream/libcgi-pm-perl/current: Changes META.yml lib/CGI.pm t/tmpdir.t
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Thu Apr 28 23:12:57 UTC 2011
Author: periapt-guest
Date: Thu Apr 28 23:12:42 2011
New Revision: 73744
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=73744
Log:
[svn-upgrade] new version libcgi-pm-perl (3.54)
Modified:
branches/upstream/libcgi-pm-perl/current/Changes
branches/upstream/libcgi-pm-perl/current/META.yml
branches/upstream/libcgi-pm-perl/current/lib/CGI.pm
branches/upstream/libcgi-pm-perl/current/t/tmpdir.t
Modified: branches/upstream/libcgi-pm-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-pm-perl/current/Changes?rev=73744&op=diff
==============================================================================
--- branches/upstream/libcgi-pm-perl/current/Changes (original)
+++ branches/upstream/libcgi-pm-perl/current/Changes Thu Apr 28 23:12:42 2011
@@ -1,8 +1,15 @@
+Version 3.54, Apr 28, 2011
+ No code changes
+
+ [INTERNALS]
+ - Address test failures in t/tmpdir.t, thanks to Niko Tyni.
+ Some tests here are failing on some platforms and have been marked as TODO.
+
Version 3.53, Apr 25, 2011
[NEW FEATURES]
- The DELETE HTTP verb is now supported.
- (RT#52614, James Robson, Eduardo Ariño de la Rubia)
+ (RT#52614, James Robson, Eduardo Ari�o de la Rubia)
[INTERNALS]
- Correct t/tmpdir.t MANIFEST entry. (RT#64949)
@@ -85,11 +92,11 @@
2. Further improvements to handling of newlines embedded in header values.
An exception is thrown if header values contain invalid newlines.
Thanks to Michal Zalewski, Max Kanat-Alexander, Yanick Champoux,
- Lincoln Stein, Frédéric Buclin and Mark Stosberg
+ Lincoln Stein, Fr�d�ric Buclin and Mark Stosberg
[DOCUMENTATION]
1. Correcting/clarifying documentation for param_fetch(). Thanks to
- Renée Bäcker. (RT#59132)
+ Ren�e B�cker. (RT#59132)
[INTERNALS]
1. Fixing https test in http.t. (RT#54768)
@@ -165,7 +172,7 @@
11.Calling CGI->new() no longer clobbers the value of $_ in the current scope.
Thanks to Alexey Tourbin, Bob Kuo and Mark Stosberg. (RT#25131)
12.UTF-8 params should not get double-decoded now.
- Thanks to Yves, Bodo, Burak Gürsoy, and Michael Schout. (RT#19913)
+ Thanks to Yves, Bodo, Burak G�rsoy, and Michael Schout. (RT#19913)
13.We now give objects passed to CGI::Carp::die a chance to be stringified.
Thanks to teek and Yanick Champoux (RT#41530)
14.Turning off autoEscape() now only affects the behavior of built-in HTML
@@ -213,7 +220,7 @@
8. Support for <optgroup> with scrolling_list() now works the same way as it does for popup_menu().
Thanks to Stuart Johnston (RT#30097)
9. CGI::Pretty now works properly when $" is set to ''. Thanks to Jim Keenan (RT#12401)
- 10. Fix crash when used in combination with PerlEx::DBI. Thanks to Burak Gürsoy (RT#19902)
+ 10. Fix crash when used in combination with PerlEx::DBI. Thanks to Burak G�rsoy (RT#19902)
[DOCUMENTATION]
1. Several typos were fixed, Thanks to ambs. (RT#41105)
@@ -745,7 +752,7 @@
Version 2.83
1. Fixed autoEscape() documentation inconsistencies.
- 2. Patch from Ville Skyttä to fix a number of XHTML inconsistencies.
+ 2. Patch from Ville Skytt� to fix a number of XHTML inconsistencies.
3. Added Max-Age to list of CGI::Cookie headers.
Version 2.82
Modified: branches/upstream/libcgi-pm-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-pm-perl/current/META.yml?rev=73744&op=diff
==============================================================================
--- branches/upstream/libcgi-pm-perl/current/META.yml (original)
+++ branches/upstream/libcgi-pm-perl/current/META.yml Thu Apr 28 23:12:42 2011
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: CGI.pm
-version: 3.53
+version: 3.54
abstract: ~
author: []
license: unknown
Modified: branches/upstream/libcgi-pm-perl/current/lib/CGI.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-pm-perl/current/lib/CGI.pm?rev=73744&op=diff
==============================================================================
--- branches/upstream/libcgi-pm-perl/current/lib/CGI.pm (original)
+++ branches/upstream/libcgi-pm-perl/current/lib/CGI.pm Thu Apr 28 23:12:42 2011
@@ -20,7 +20,7 @@
# The revision is no longer being updated since moving to git.
$CGI::revision = '$Id: CGI.pm,v 1.266 2009/07/30 16:32:34 lstein Exp $';
-$CGI::VERSION='3.53';
+$CGI::VERSION='3.54';
# HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES.
# UNCOMMENT THIS ONLY IF YOU KNOW WHAT YOU'RE DOING.
Modified: branches/upstream/libcgi-pm-perl/current/t/tmpdir.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-pm-perl/current/t/tmpdir.t?rev=73744&op=diff
==============================================================================
--- branches/upstream/libcgi-pm-perl/current/t/tmpdir.t (original)
+++ branches/upstream/libcgi-pm-perl/current/t/tmpdir.t Thu Apr 28 23:12:42 2011
@@ -1,5 +1,5 @@
#!perl
-use Test::More tests => 5;
+use Test::More tests => 9;
use strict;
my ($testdir, $testdir2);
@@ -8,7 +8,7 @@
$testdir = "CGItest";
$testdir2 = "CGItest2";
for ($testdir, $testdir2) {
- ( -d ) || mkdir;
+ ( -d ) || mkdir $_;
( ! -w ) || chmod 0700, $_;
}
$CGITempFile::TMPDIRECTORY = $testdir;
@@ -20,16 +20,21 @@
CGITempFile->new;
is($CGITempFile::TMPDIRECTORY, $testdir, "\$CGITempFile::TMPDIRECTORY unchanged");
-chmod 0500, $testdir;
+TODO: {
+ local $TODO = "figuring out why these tests fail on some platforms";
+ ok(chmod 0500, $testdir, "revoking write access to $testdir");
+ ok(! -w $testdir, "write access to $testdir revoked");
CGITempFile->new;
is($CGITempFile::TMPDIRECTORY, $testdir2,
"unwritable \$CGITempFile::TMPDIRECTORY overridden");
-chmod 0500, $testdir2;
+ok(chmod 0500, $testdir2, "revoking write access to $testdir2");
+ok(! -w $testdir, "write access to $testdir revoked");
CGITempFile->new;
isnt($CGITempFile::TMPDIRECTORY, $testdir2,
"unwritable \$ENV{TMPDIR} overridden");
isnt($CGITempFile::TMPDIRECTORY, $testdir,
"unwritable \$ENV{TMPDIR} not overridden with an unwritable \$CGITempFile::TMPDIRECTORY");
+}
END { rmdir for ($testdir, $testdir2) }
More information about the Pkg-perl-cvs-commits
mailing list