Tulan W. Hu wrote:
-- Original Message ----- From: "Stas Bekman" <[EMAIL PROTECTED]>

Please take a look at Apache-Test/lib/Apache/TestConfig.pm

sub open_cmd {

....

it calls untaint_path($ENV{PATH}) in the same file. Please take a look at
that function and see if you can fix it.

If you don't figure out, please apply the patch below and post the console
output at the server startup. Thanks.


Thank you for your advise. I do have a long list in the $ENV{PATH}.

If you don't show us what you have in there, we can't fix it. So it's the best that you do (feel free to email me offlist if you think that the information in that path is somewhat sensitive. untaint_path is supposed to deal with any path. I guess you have a new case we didn't encounter yet.


I have hard coded to the needed path in the variable. I never had
this problem before. It must be now tighter on the security issues.
The results looks much better then it was before. Some skipped
because I don't have proxy or multi-thread env.
Would you tell me if pseudo_http failure is ok?

It's actually two tests.

Please follow the intructions in this section:
http://perl.apache.org/docs/2.0/user/help/help.html#_C_make_test___Failures
and we will look at it.

Also you may want to get Apache's mod_deflate installed so you get less tests skipped and more tested.

Lots thanks for your help!
Tulan
=======

The following is the results:
t/apr-ext/threadmutex...................skipped
        all skipped: Perl was not built with 'ithreads' enabled
t/apr/threadmutex.......................skipped
        all skipped: Perl was not built with 'ithreads' enabled
t/apr/util..............................FAILED test 3
        Failed 1/4 tests, 75.00% okay
t/filter/both_str_native_remove.........skipped
        all skipped: cannot find module 'deflate'
t/filter/both_str_req_mix...............skipped
        all skipped: cannot find module 'deflate'
t/filter/both_str_req_proxy.............skipped
        all skipped: cannot find module 'proxy', cannot find module
'proxy_http.c'
t/modperl/request_rec_tie_api...........skipped
        all skipped: perl 5.008006: PerlIO is used instead of TIEd IO
t/modules/apache_resource...............skipped
        all skipped: cannot find module 'BSD::Resource'
t/modules/proxy.........................skipped
        all skipped: cannot find module 'proxy', cannot find module
'proxy_http.c'
t/protocol/pseudo_http..................# Failed test 5 in
t/protocol/pseudo_htt
p.t at line 57
# Failed test 6 in t/protocol/pseudo_http.t at line 63 fail #4
# Failed test 7 in t/protocol/pseudo_http.t at line 63 fail #5
# Failed test 8 in t/protocol/pseudo_http.t at line 57 fail #2
FAILED tests 5-8
        Failed 4/13 tests, 69.23% okay
Failed Test              Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/apr/util.t                            4    1  25.00%  3
t/protocol/pseudo_http.t               13    4  30.77%  5-8
8 tests skipped.
Failed 2/222 test scripts, 99.10% okay. 5/2222 subtests failed, 99.77% okay.


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to