From: Rafael Kitover Date: Thu, 4 Jun 2009 23:07:38 +0000 (+0000) Subject: fix make test problem X-Git-Tag: 0.030~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-WrapCGI.git;a=commitdiff_plain;h=5709e6bdaf32ff9891714906eac638eb5c55aa80 fix make test problem --- diff --git a/Changes b/Changes index f283556..22a605d 100644 --- 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 diff --git a/lib/Catalyst/Controller/CGIBin.pm b/lib/Catalyst/Controller/CGIBin.pm index e0ca62c..9bce949 100644 --- a/lib/Catalyst/Controller/CGIBin.pm +++ b/lib/Catalyst/Controller/CGIBin.pm @@ -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 diff --git a/lib/Catalyst/Controller/WrapCGI.pm b/lib/Catalyst/Controller/WrapCGI.pm index 366d71e..3d035f1 100644 --- a/lib/Catalyst/Controller/WrapCGI.pm +++ b/lib/Catalyst/Controller/WrapCGI.pm @@ -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 diff --git a/lib/CatalystX/GlobalContext.pm b/lib/CatalystX/GlobalContext.pm index 33da05c..f1619e0 100644 --- a/lib/CatalystX/GlobalContext.pm +++ b/lib/CatalystX/GlobalContext.pm @@ -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 diff --git a/t/cgibin.t b/t/cgibin.t index 4a3e84c..5430b3f 100644 --- a/t/cgibin.t +++ b/t/cgibin.t @@ -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'); }