fix make test problem
Rafael Kitover [Thu, 4 Jun 2009 23:07:38 +0000 (23:07 +0000)]
Changes
lib/Catalyst/Controller/CGIBin.pm
lib/Catalyst/Controller/WrapCGI.pm
lib/CatalystX/GlobalContext.pm
t/cgibin.t

diff --git a/Changes b/Changes
index f283556..22a605d 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Catalyst-Controller-WrapCGI
 
+0.019  2009-06-04 23:06:39
+    - fix a "make test" problem with +x not preserved on test.sh
+
 0.018  2009-06-01 20:04:41
     - remove forward example from synopsis in CGIBin, as that confuses people
 
index e0ca62c..9bce949 100644 (file)
@@ -23,11 +23,11 @@ Catalyst::Controller::CGIBin - Serve CGIs from root/cgi-bin
 
 =head1 VERSION
 
-Version 0.018
+Version 0.019
 
 =cut
 
-our $VERSION = '0.018';
+our $VERSION = '0.019';
 
 =head1 SYNOPSIS
 
index 366d71e..3d035f1 100644 (file)
@@ -20,11 +20,11 @@ Catalyst::Controller::WrapCGI - Run CGIs in Catalyst
 
 =head1 VERSION
 
-Version 0.018
+Version 0.019
 
 =cut
 
-our $VERSION = '0.018';
+our $VERSION = '0.019';
 
 =head1 SYNOPSIS
 
index 33da05c..f1619e0 100644 (file)
@@ -15,11 +15,11 @@ CatalystX::GlobalContext - Export Catalyst Context
 
 =head1 VERSION
 
-Version 0.018
+Version 0.019
 
 =cut
 
-our $VERSION = '0.018';
+our $VERSION = '0.019';
 
 =head1 SYNOPSIS
 
index 4a3e84c..5430b3f 100644 (file)
@@ -67,5 +67,8 @@ SKIP: {
     skip "Can't run shell scripts on non-*nix", 1
         if $^O eq 'MSWin32' || $^O eq 'VMS';
 
+# for some reason the +x is not preserved in the dist
+    system "chmod +x $Bin/lib/TestCGIBin/root/cgi-bin/test.sh";
+
     is(get('/my-bin/test.sh'), "Hello!\n", 'Non-Perl CGI File');
 }