|
|
Choosing A Webhost: |
Re: [mp2] mod_perl test suite fails: msg#00152apache.mod-perl.devel
Volker Kroll wrote: On Mon, 2003-12-15 at 10:29, Stas Bekman wrote: That's very strange. two emails ago you said that this worked: http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=107123974823141&w=2 use File::Spec::Functions qw(catfile); my($uid, $gid) = (getpwnam(qq[nobody]))[2..3]; $( = $) = $gid+0; die qq[failed to change gid to $gid] if $( != $gid; $< = $> = $uid+0; die qq[failed to change uid to $uid] if $< != $uid; my $dir = qq[/root]; my $file = catfile $dir, qq[.apache-test-file-$$-].time.int(rand); END { unlink $file }; # -w open TEST, qq[>$file] or die qq[failed to open $file: $!]; # -x -f $file or die qq[$file cannot be looked up]; close TEST; # -r opendir DIR, $dir or die qq[failed to open dir $dir: $!]; defined readdir DIR or die qq[failed to read dir $dir: $!]; close DIR; # all tests passed print q{OK}; and started it out of a file. I got: failed to open /root/.apache-test-file-8981-10712397220: Permission denied at test line 11. ---------------------------- Can you please look at run_root_fs_test() in Apache/TestRun.pm and see what went wrong in transition? It should die with the same error as above. You can modify the sub and test your changes, by running: /usr/bin/perl -Mlib=/root/modperl-2.0/Apache-Test/lib -MApache::TestRun \ -e 'Apache::TestRun::run_root_fs_test(99, 99, q[/root/modperl-2.0/t])'; Thank you. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: cvs commit: modperl-2.0 Changes, Philippe M. Chiasson |
|---|---|
| Next by Date: | Re: [mp2] src/modules/perl/modperl_mgv.c, Stas Bekman |
| Previous by Thread: | Re: [mp2] mod_perl test suite fails, Volker Kroll |
| Next by Thread: | Re: [mp2] mod_perl test suite fails, Volker Kroll |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |