fix make test problem
[catagits/Catalyst-Controller-WrapCGI.git] / t / cgibin.t
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');
 }