Re: [RELEASE CANDIDATE] Apache-Test-1.27 RC2

2005-10-12 Thread Randy Kobes
On Wed, 12 Oct 2005, Philip M. Gollucci wrote: A release candidate for Apache-Test 1.27 is now available. http://people.apache.org/~pgollucci/at/Apache-Test-1.27-RC2.tar.gz Please take the time to exercise the candidate through all your existing applications that use Apache-Test and report

Re: [PATCH] add ldd/otool output to bug reports

2005-09-12 Thread Randy Kobes
On Mon, 12 Sep 2005, Philip M. Gollucci wrote: If this point was reached, it would break Win32, plus any other system which didn't have an ldd in the PATH. Perhaps Apache::TestConfig::which() could be used to see if an ldd() [or otool()] is present, and skip this part if it's not found? I

Re: [PATCH] add ldd/otool output to bug reports

2005-09-09 Thread Randy Kobes
On Fri, 9 Sep 2005, Philip M. Gollucci wrote: For both mp2bug and A-T Question, why does A-T call it OSX and mp2 call it DARWIN ... should we sync one way or the other ? Index: lib/ModPerl/Config.pm === ---

Re: Unable to run t/ssl tests.

2005-07-24 Thread Randy Kobes
On Fri, 22 Jul 2005, William A. Rowe, Jr. wrote: Well now; rm -rf t , and svn up, gives me the original error attempting to create 'serial', a 'serial.old' lingers during the config phase. Just as a couple of checks: - does perl t/TEST -clean clean out the t\conf\ssl\ca directory

Re: Unable to run t/ssl tests.

2005-07-23 Thread Randy Kobes
On Fri, 22 Jul 2005, William A. Rowe, Jr. wrote: On Win32... Using openssl 0.9.8, httpd 2.1-dev (current) and perl-framework (current)... and I end up in a loop between running t/TEST -clean and t/TEST -apxs g:/path/to/apxs with this error, every time; The Subject's Distinguished Name is as

Re: apxs calls on Win32

2004-12-08 Thread Randy Kobes
On Tue, 7 Dec 2004, Stas Bekman wrote: As soon as you see dup like this, think refactoring :) e.g. add untaint_path(), that does the work and call it: local $ENV{PATH}) = untaint_path($ENV{PATH}); Otherwise +1. And of course this wrapper should probably used in open_cmd too! Here's a

Re: apxs calls on Win32

2004-12-07 Thread Randy Kobes
On Sun, 5 Dec 2004, Stas Bekman wrote: Randy Kobes wrote: If apxs is installed on Win32, it is usually specified as a .bat file. In querying apxs in apxs() of Apache::TestConfig, however, Win32 needs both the path to cmd.exe (for running a .bat command) and to Perl (in order to run

Re: apxs calls on Win32

2004-12-07 Thread Randy Kobes
On Tue, 7 Dec 2004, Stas Bekman wrote: Randy Kobes wrote: [ ... ] == Index: lib/Apache/TestConfig.pm === --- lib/Apache/TestConfig.pm(revision 110064

apxs calls on Win32

2004-12-05 Thread Randy Kobes
If apxs is installed on Win32, it is usually specified as a .bat file. In querying apxs in apxs() of Apache::TestConfig, however, Win32 needs both the path to cmd.exe (for running a .bat command) and to Perl (in order to run apxs.bat) in order to get something from $val = qx($apxs -q $q

Re: httpd-test pages need to be updated to point to svn not cvs

2004-12-01 Thread Randy Kobes
On Tue, 30 Nov 2004, Stas Bekman wrote: http://httpd.apache.org/test/ is outdated (s/cvs/svn/)... thanks. I just changed, via svn, the site/docs/test/index.html and site/xdocs/test/index.xml pages to reflect this. However, I just wanted to verify that, to get the changes on the site itself, one

Re: Apache-Test module skeletons

2004-07-09 Thread Randy Kobes
On Fri, 9 Jul 2004, David Wheeler wrote: On Jul 9, 2004, at 1:09 PM, Stas Bekman wrote: There is no Apache.pm in mp2. You probably wanted to say: requires = { 'mod_perl' = 0, Right. In fact, it should probably be requires = { 'mod_perl' = '1.0', in the MP1

Re: Apache-Test module skeletons

2004-07-09 Thread Randy Kobes
On Fri, 9 Jul 2004, David Wheeler wrote: On Jul 9, 2004, at 1:45 PM, David Wheeler wrote: use 5.00503; use Apache::TestMB; Apache::TestMB-new( module_name= 'Apache::Test::Skeleton', license= 'perl', requires = { 'mod_perl' = = 1.0, 1.99,

Re: Error running apache test

2004-06-23 Thread Randy Kobes
/log/error_log directory, I see the error: [error] (38)Function not implemented: Cannot create SSLMutex In the ssl portion of your system httpd.conf, if the SSLMutex directive is not given as SSLMutex default does changing it to that help? -- best regards, randy kobes

Re: Error running apache test

2004-06-23 Thread Randy Kobes
On Tue, 22 Jun 2004, Abhishek Khandelwal wrote: Where exactly I put this? In the conf file generated by test, which is in t/conf/httpd.conf or even before compiling and building test, I change the original httpd.conf? Try changing the original first - I think Apache-Test should pick up

Re: Error running apache test

2004-06-23 Thread Randy Kobes
On Tue, 22 Jun 2004, Abhishek Khandelwal wrote: I changed original ssl.conf to the SSLMutex default as shown below. # Semaphore: # Configure the path to the mutual exclusion semaphore the # SSL engine uses internally for inter-process synchronization. #SSLMutex

Re: [NOMINATE] commit access for david wheeler

2004-06-23 Thread Randy Kobes
On Wed, 23 Jun 2004, Geoffrey Young wrote: hi all... as suggested by stas in a recent thread, it's about time we gave david commit access to the perl-framework - he has been actively helping with the project for as long as I can remember, from mac-specific stuff to lots of great work on the

Re: Apache::TestMB

2004-06-22 Thread Randy Kobes
to compile the module (as well as implementing a 'clean' target). In principle I think this could be done via Module::Build with an appropriate Build.PL and the corresponding changes within Apache/TestConfigC.pm to call it. -- best regards, randy kobes

Re: [Module::Build] Re: Apache::TestMB

2004-06-22 Thread Randy Kobes
On Tue, 22 Jun 2004, David Wheeler wrote: On Jun 22, 2004, at 7:32 AM, Randy Kobes wrote: Right now the Makefile is generated by methods within Apache/TestConfigC.pm, which generally consists of calling the apxs utility to compile the module (as well as implementing a 'clean' target

Re: more on the perl-framework on windows

2004-03-27 Thread Randy Kobes
On Fri, 26 Mar 2004, Rodent of Unusual Size wrote: Geoffrey Young wrote: if apxs is being invoked but isn't available you may have a leftover TestConfigData.pm sitting around which you can safely remove. or you didn't explicitly pass -httpd or something like that, which you ought to be

Re: testing apache 1.3 on windows

2004-03-17 Thread Randy Kobes
On Tue, 16 Mar 2004, Rodent of Unusual Size wrote: and a 'perl t\TEST -config' blowes up trying to build mod_random_chunk (unresolved symbols _random and _srandom). I couldn't find the _random or _srandom symbols in a system library, but changing these to rand() and srand() in

Re: testing apache 1.3 on windows

2004-03-17 Thread Randy Kobes
On Wed, 17 Mar 2004, Rodent of Unusual Size wrote: Randy Kobes wrote: I couldn't find the _random or _srandom symbols in a system library, but changing these to rand() and srand() in mod_random_chunk.c seems to work OK. mm. i've ifdef'd those for WIN32 and will commit it; if anyone

Re: testing apache 1.3 on windows

2004-03-16 Thread Randy Kobes
On Tue, 16 Mar 2004, Rodent of Unusual Size wrote: Randy Kobes wrote: There is an alpha port of apxs for Win32 for Apache/2.0; grab the script http://perl.apache.org/dist/win32-bin/install_apxs and run it, which will fetch, configure, and install it on your system. beauty

Re: testing apache 1.3 on windows

2004-03-15 Thread Randy Kobes
from pulling your hair out. :) -- best regards, randy kobes

Re: testing apache 1.3 on windows

2004-03-15 Thread Randy Kobes
On Mon, 15 Mar 2004, William A. Rowe, Jr. wrote: At 02:51 PM 3/15/2004, you wrote: On Mon, 15 Mar 2004, Rodent of Unusual Size wrote: also, there apparently is no longer an apxs.pl for 2.0 windows -- so what's the magic Makefile.PL argument to let the test modules be built? There is

Re: Sticky preferences in Windows

2004-03-13 Thread Randy Kobes
is C:\Perl\site\lib\Apache\BuildConfig.pm which is generated by Apache::Build. -- best regards, randy kobes

Re: in-place edit in TestRun.pm

2004-03-11 Thread Randy Kobes
On Wed, 10 Mar 2004, Stas Bekman wrote: Randy Kobes wrote: Hi, A recent change in Apache-Test/lib/Apache/TestRun.pm involves an in-place edit, at around line 765: [ .. ] Unfortunately, Win32 can't do such in-place edits: [ ... ] why not doing: local $^I = .bak; # windows can't

Re: time for a new A-T release?

2004-02-20 Thread Randy Kobes
On Thu, 19 Feb 2004, Stas Bekman wrote: I'd like to get a new A-T out of the door. There were a *lot* of tweaks and new features added since the last release. It'd be nice to see whether users are happy with them, before we get a new mp2 release out. Hi Stas, Regarding that patch we just

Re: Apache::TestMM::generate_script vs. Win32 Paths

2004-02-19 Thread Randy Kobes
On Tue, 17 Feb 2004, Stas Bekman wrote: Randy Kobes wrote: On Tue, 3 Feb 2004, Christopher H. Laco wrote: I've installed Apache::Test 1.07 on ActiveState perl 5.6.1 build 630 and am trying to make test scripts for a pile of pages in a package I'm workin on. If I pass in an -httpd

Re: Apache::TestMM::generate_script vs. Win32 Paths

2004-02-03 Thread Randy Kobes
\Apache Group\Apache\Apache.exe'; $exe = Win32::GetShortPathName($exe); push @ARGV, '-httpd', $exe; work? If so, I'll look at seeing where this could be added within Apache::Test. -- best regards, randy kobes

Re: sticky preferences in Apache-Test

2004-01-18 Thread Randy Kobes
On Sat, 17 Jan 2004, Stas Bekman wrote: Randy Kobes wrote: [ ... ] I don't have an ~/.apache-test/, and yes, using the perl with the CPAN A-T installed to build the cvs A-T is fine. Where I run into problems in not seeing the configuration dialogue is using the perl with the cvs A-T

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm TestRun.pm

2004-01-13 Thread Randy Kobes
On Sun, 11 Jan 2004, Stas Bekman wrote: Randy Kobes wrote: [ ... ] my Apache is D:\Apache2\bin\Apache.exe, which would get reported as d:\apache2\bin\apache.exe. If there isn't an easy way to preserve the case yet still remove such duplicates, I'll do that - it's not a big deal. Randy

Re: sticky preferences in Apache-Test

2004-01-13 Thread Randy Kobes
On Tue, 13 Jan 2004, Stas Bekman wrote: Geoffrey Young wrote: [ ... ] what I do know, however, is that my nightly builds start with 2.1 then move to 2.0, issuing 'make realclean' between each. for the past few nights, the 2.0 tests don't run because it's loading TestConfigData.pm from

Re: sticky preferences in Apache-Test

2004-01-13 Thread Randy Kobes
On Tue, 13 Jan 2004, Stas Bekman wrote: Randy Kobes wrote: I haven't worked through this yet, but I find a similar problem ... I have two Perls, both of which have mp2 installed, but one has the CPAN Apache-Test and the other has the cvs Apache-Test installed. In building the cvs

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm TestRun.pm

2004-01-11 Thread Randy Kobes
On Sat, 10 Jan 2004, Stas Bekman wrote: [EMAIL PROTECTED] wrote: randyk 2004/01/10 14:07:17 Modified:perl-framework/Apache-Test/lib/Apache TestConfig.pm TestRun.pm Log: On Win32, multiple options for Apache.exe can be returned which differ

Re: rerunning original_command

2004-01-11 Thread Randy Kobes
On Sat, 10 Jan 2004, Stas Bekman wrote: Randy Kobes wrote: Hi, With the current Apache-Test cvs, after the initial dialogue asking which Apache binary you want is completed, the original command is rerun with the desired configuration options. However, this original command

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm TestRun.pm

2004-01-11 Thread Randy Kobes
On Sun, 11 Jan 2004, Stas Bekman wrote: Randy Kobes wrote: [ .. ] Sorry about that - I'll revert that change (I just tried, but got an error message about insufficient space left on a device). Actually, looking for both 'apache' and 'Apache' leads back to the same problem on Win32

Re: win32_fetch_apxs in Apache-Test?

2004-01-11 Thread Randy Kobes
On Sun, 11 Jan 2004, Stas Bekman wrote: Yes, yes, what I was saying is that how the interactive config should know whether it's Apache 1 or Apache 2 that the user is after? or did you want to suggest it after user has specified the value for httpd and then if you figure out that it's for

rerunning original_command

2004-01-10 Thread Randy Kobes
Hi, With the current Apache-Test cvs, after the initial dialogue asking which Apache binary you want is completed, the original command is rerun with the desired configuration options. However, this original command is reproduced as 't/TEST ', and on Win32 't/TEST' isn't recognized as a

win32_fetch_apxs in Apache-Test?

2004-01-10 Thread Randy Kobes
Hi, The current Apache-Test cvs, as well as looking for an Apache binary, will also search for apxs, which doesn't come with Apache-2 on Win32. Within the mod_perl 2 distribution Makefile.PL will offer to run a script on Win32 to fetch and install an apxs - might it be an idea to do the same

Re: sticky preferences in Apache-Test

2003-09-25 Thread Randy Kobes
On Wed, 24 Sep 2003, Randy Kobes wrote: Hi, Below is a modified diff to allow for preferences to be saved to an Apache::TestConfigData for later use within Apache::Test. In this version, a user can create a $HOME/.apache-test/Apache/TestConfigData.pm to specify the preferences

sticky preferences in Apache-Test

2003-09-24 Thread Randy Kobes
Hi, Below is a modified diff to allow for preferences to be saved to an Apache::TestConfigData for later use within Apache::Test. In this version, a user can create a $HOME/.apache-test/Apache/TestConfigData.pm to specify the preferences; this will be used, if it exists, before a system

Re: need help to add per-user config to Apache::Test

2003-09-06 Thread Randy Kobes
On Sat, 6 Sep 2003, Stas Bekman wrote: Randy Kobes wrote: On Thu, 4 Sep 2003, Stas Bekman wrote: In the effort to remove some of the Win32 noise, I was thinking that we can write a generic function which gets a path as an argument and figures out internally if it needs to keep

Re: need help to add per-user config to Apache::Test

2003-09-05 Thread Randy Kobes
On Wed, 3 Sep 2003, Stas Bekman wrote: Randy Kobes wrote: On Tue, 2 Sep 2003, Stas Bekman wrote: [ .. ] It should work during 'make test' as well, since it already runs t/TEST -config. And also whenever you provide any options to t/TEST it reconfigures, so I believe the normal run will do

Re: need help to add per-user config to Apache::Test

2003-09-03 Thread Randy Kobes
On Tue, 2 Sep 2003, Stas Bekman wrote: Randy Kobes wrote: [ .. ] Very good, a few more comments following === Index: TestRun.pm [...] +$self-write_config() if probably better to do that right after $self-configure

Re: need help to add per-user config to Apache::Test

2003-09-02 Thread Randy Kobes
On Tue, 2 Sep 2003, Stas Bekman wrote: Randy Kobes wrote: [ ... ] sub filter_args { my($args, $wanted_args) = @_; +if (HAS_CONFIG) { +for (qw(group user apxs port httpd)) { +next unless defined $Apache::MyTestConfig-{$_}; +unshift @$args

Re: need help to add per-user config to Apache::Test

2003-08-29 Thread Randy Kobes
, which shouldn't be too hard to add. I'll try to finish it off this weekend. -- best regards, randy kobes

Re: apxs on Win32

2003-07-30 Thread Randy Kobes
On Tue, 29 Jul 2003, Stas Bekman wrote: Randy Kobes wrote: [...] I'll take a look at this tonight as well - it'd probably be easier to change, for Win32, the assumption of the name of the httpd binary when apxs is present. Thanks Randy! Thanks for looking this over, Stas - I know

Re: apxs on Win32

2003-07-30 Thread Randy Kobes
On Tue, 29 Jul 2003, Stas Bekman wrote: Randy Kobes wrote: On Tue, 29 Jul 2003, Stas Bekman wrote: Randy Kobes wrote: I've been looking at getting apxs for Win32 working on Apache 2. where would it go? Apache::Test? mod_perl? If there's consensus, I think the better place would

Re: Apache::Test oustanding issues

2003-07-30 Thread Randy Kobes
On Tue, 29 Jul 2003, Stas Bekman wrote: Randy Kobes wrote: On Tue, 29 Jul 2003, Stas Bekman wrote: In the last few weeks the following two issues were raised: 1) store a default location of httpd/apxs in Apache::Test so one should provide it only once. I'm +1 on this feature

Re: apxs on Win32

2003-07-30 Thread Randy Kobes
On Wed, 30 Jul 2003, Stas Bekman wrote: +1 on the patch Randy, whatever you think is the best for win32, please go ahead with it. Untill we get someone else on win32 involved, you are pretty much free to decide how to handle things and what's the best for the user, as long as the changes

Re: apxs on Win32

2003-07-30 Thread Randy Kobes
On Thu, 31 Jul 2003, Stas Bekman wrote: Randy Kobes wrote: [ .. ] As Bill mentioned in another message, it looks like it would be possible to integrate it within httpd-2.0. So rather than including it within the Apache-Test sources, what I could do is add a post-install script

Re: Apache::Test oustanding issues

2003-07-29 Thread Randy Kobes
On Mon, 28 Jul 2003, David Wheeler wrote: On Monday, July 28, 2003, at 04:52 PM, Stas Bekman wrote: We do that already. The problem is in the parent path. Try: cd /root ; mkdir t ; chmod 0777 t ; sudo -u 'nobody' perl -le 'print -r t -w _ -x _ ? OK : NOK' Oh, right. That's one

Re: Apache::Test oustanding issues

2003-07-29 Thread Randy Kobes
On Mon, 28 Jul 2003, David Wheeler wrote: On Monday, July 28, 2003, at 06:33 PM, Randy Kobes wrote: What about just skipping the tests if root is running the tests, and printing out an explanatory message why the tests are skipped? I don't think you can necessarily do this, because

Re: Apache::Test oustanding issues

2003-07-29 Thread Randy Kobes
On Tue, 29 Jul 2003, Stas Bekman wrote: In the last few weeks the following two issues were raised: 1) store a default location of httpd/apxs in Apache::Test so one should provide it only once. I'm +1 on this feature. Is anybody interested to implement it? That sounds like a good idea ...

apxs on Win32

2003-07-29 Thread Randy Kobes
, randy kobes

Re: apxs on Win32

2003-07-29 Thread Randy Kobes
On Tue, 29 Jul 2003, Stas Bekman wrote: Randy Kobes wrote: I've been looking at getting apxs for Win32 working on Apache 2. There's a number of changes needed due to the current reliance on libtool, so initially I've tried just a pure Win32 version - if anyone wants to try it, I've put

Re: Test failure with Apache::Test 1.03, Apache/2.0.40 and perl-5.8.1-to-be

2003-07-16 Thread Randy Kobes
On Tue, 15 Jul 2003, Stas Bekman wrote: Randy Kobes wrote: [ .. ] If the above is on the right track, one possibility is to do the following (in cases where possible LoadModule directives are needed by Apache-Test): - die if an httpd.conf isn't found in a directory conf/ in an expected

Re: Test failure with Apache::Test 1.03, Apache/2.0.40 and perl-5.8.1-to-be

2003-07-11 Thread Randy Kobes
On Fri, 11 Jul 2003, Stas Bekman wrote: [EMAIL PROTECTED] wrote: [ .. ] Now I get a different failure (Alias is now invalid): [ .. ] waiting for server to start: .Syntax error on line 76 of /home/slavenr/work2/httpd-test/perl-framework/Apache-Test/t/conf/httpd.conf: Invalid command

Re: Test failure with Apache::Test 1.03, Apache/2.0.40 and perl-5.8.1-to-be

2003-07-06 Thread Randy Kobes
is that the httpd specified is a symlink, or is from an Apache source distribution that has not yet been edited. -- best regards, randy kobes

Re: resolving Apache::Test vs. Apache::test collision

2003-06-18 Thread Randy Kobes
On Tue, 17 Jun 2003, Stas Bekman wrote: [ .. ] David, please test this patch. This version performs the cleanup only during 'make install'. what I'm not sure about is whether it handles correctly some weird paths when creating the packlist. I think it should work, since nothing is passed via

Re: resolving Apache::Test vs. Apache::test collision

2003-05-22 Thread Randy Kobes
On Thu, 22 May 2003, Stas Bekman wrote: [ ... ] So is everybody happy with this solution? (rename Apache/test.pm with Apache/testold.pm). So we can give Geoff a green light to publish his article? Sounds good ... It'd be very helpful if somebody could do a bit of processing of CPAN and

Re: resolving Apache::Test vs. Apache::test collision

2003-05-22 Thread Randy Kobes
On Thu, 22 May 2003, Randy Kobes wrote: On Thu, 22 May 2003, Stas Bekman wrote: [ ... ] It'd be very helpful if somebody could do a bit of processing of CPAN and figure who uses Apache::test and compile a list of their email addresses. Here's a list of packages that have Apache::test

Re: resolving Apache::Test vs. Apache::test collision

2003-05-16 Thread Randy Kobes
On Fri, 16 May 2003, Geoffrey Young wrote: Stas Bekman wrote: Folks please send your feedback on this last proposal, so we can close this issue asap. In case you have missed it: http://marc.theaimsgroup.com/?l=apache-test-devm=105288551432493w=2 the solution seems reasonable to

Re: resolving Apache::Test vs. Apache::test collision

2003-05-06 Thread Randy Kobes
On Tue, 6 May 2003, David Wheeler wrote: On Tuesday, May 6, 2003, at 08:49 AM, Randy Kobes wrote: An upshot of this is that, when installing Apache-Test, a system file Apache/Test.pm or Apache/test.pm should probably be unlinked before copying to the blib/ directory. Yes, and hope

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestRun.pm

2003-01-31 Thread Randy Kobes
On Fri, 31 Jan 2003, Stas Bekman wrote: [EMAIL PROTECTED] wrote: stas2003/01/30 16:53:45 Modified:perl-framework/Apache-Test/lib/Apache TestRun.pm Log: # handle the cases when the test suite is run under 'root': # # 1. When user 'bar' is chosen to run Apache

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestRun.pm

2003-01-31 Thread Randy Kobes
On Fri, 31 Jan 2003, Stas Bekman wrote: Is the whole test-under-'root' issue moot under win32, and can be safely skipped without messing the code? Hi Stas, There is a concept of permissions under Win32 (some flavours) which in principle can enter this (for example, an Administrator can block

Re: Asst'd Win32 failures [that should simply be skipped]

2002-06-22 Thread Randy Kobes
TESTS # we can use mod_bucketeer to create edge conditions for mod_include, since # it allows us to create bucket and brigade boundaries wherever we want === is one way of fixing this. best regards, randy kobes

Re: Outch - what a tangled web.

2002-01-06 Thread Randy Kobes
. best regards, randy kobes

Re: Begging your pardons,

2001-12-30 Thread Randy Kobes
, by running tests individually). best regards, randy kobes