Testing approach for server programs

2005-05-18 Thread Walter Goulet
Hi, While developing test scripts for Net::SSLeay, I've run into an problem where the legacy test.pl is forking off child processes to start server programs. Subsequent tests in the script then send input to those server programs and test the outputs to determine pass fail. You can probably alr

Net::SSLeay testing

2005-04-13 Thread Walter Goulet
I thought I'd share a pretty cool side effect of Net::SSLeay testing for the Phalanx project. While adding tests to Net::SSLeay I found a bug in the openssl library itself. See the Phalanx kwiki entry for Net::SSLeay for details: http://phalanx.kwiki.org/index.cgi?NetSSLeayHoplites - walt smim

Re: Testing for NULL return values in test scripts

2005-04-13 Thread Walter Goulet
So the good news is that I was able to convince the author to let me include my dependancies in the test library. So I'll switch to Test::More. Thanks for the help. On 4/12/05, Michael G Schwern <[EMAIL PROTECTED]> wrote: > On Tue, Apr 12, 2005 at 04:15:01PM -0500, Walter Goule

Re: Testing for NULL return values in test scripts

2005-04-12 Thread Walter Goulet
is distribution... - walt On 4/12/05, Tels <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > > Moin, > > On Tuesday 12 April 2005 22:15, Michael G Schwern wrote: > > On Tue, Apr 12, 2005 at 01:39:59PM -0500, Walter Goulet wrote: > > > I can't use

Re: Testing for NULL return values in test scripts

2005-04-12 Thread Walter Goulet
w() fails; I know it returns NULL in c. > On 4/12/05, Steve Peters <[EMAIL PROTECTED]> wrote: > > On Tue, Apr 12, 2005 at 12:49:30PM -0500, Walter Goulet wrote: > > > Hi, > > > > > > I was wondering if there is a way to use the ok() function in Test.pm &

Testing for NULL return values in test scripts

2005-04-12 Thread Walter Goulet
Hi, I was wondering if there is a way to use the ok() function in Test.pm to check for a null return value. It looks like the 3 arg form of ok() I'm using only tests the first 2 args to see if they're equal. I'm considering this approach: $val = some_func(); # returns NULL on failure if($val !=

Phalanx kwiki

2005-04-11 Thread Walter Goulet
Looks like the phalanx kwiki as well as the phalanx subversion repository is down. Any ETA on when it will be back up? thanks, -walt smime.p7s Description: S/MIME Cryptographic Signature

Re: Bug in Net-SSLeay documentation

2005-04-02 Thread Walter Goulet
Andy Lester wrote: By the way, I asked this a couple of days ago and didn't get an answer; how can I get Net-SSLeay added to the Phalanx SVN repository? I'm maintaining a local repository to track my own changes in the meantime. You tell me and I'll have Robert set up access for it. Are you goi

Bug in Net-SSLeay documentation

2005-04-02 Thread Walter Goulet
I found a bug in the perlpod documentation for one of the methods while adding some tests. I've already submitted a patch to the author. So chalk this up as another victory for the Phalanx effort... By the way, I asked this a couple of days ago and didn't get an answer; how can I get Net-SSLeay

Re: Testing Net-SSLeay

2005-04-01 Thread Walter Goulet
. On Apr 1, 2005 3:26 PM, Andy Lester <[EMAIL PROTECTED]> wrote: > On Fri, Apr 01, 2005 at 01:47:36PM -0600, Walter Goulet ([EMAIL PROTECTED]) > wrote: > > I've been in contact with the author of Net-SSLeay about testing his > > module. One limitation I have to work with

Re: Testing Net-SSLeay

2005-04-01 Thread Walter Goulet
My impression from the author was that he didn't want me bundling any additional modules with Net-SSLeay. Maybe I don't fully understand your suggestion... On Apr 1, 2005 2:07 PM, Randy W. Sims <[EMAIL PROTECTED]> wrote: > Walter Goulet wrote: > > Hi, > > > >

Testing Net-SSLeay

2005-04-01 Thread Walter Goulet
Hi, I've been in contact with the author of Net-SSLeay about testing his module. One limitation I have to work with is that the module has to work out of the box with perl 5.6.0 which doesn't include the Test::Simple and Test::More modules. I guess this limits me to using the old Test module. He

Re: Phalanx

2005-03-30 Thread Walter Goulet
Gabor Szabo wrote: On Wed, 30 Mar 2005 21:45:23 -0600, Walter Goulet <[EMAIL PROTECTED]> wrote: Hi, Ok, so I've been trying to get started with testing Net-SSLeay for the Phalanx project. Now the problem I've been having is getting my arms around how to improve the cover

Phalanx

2005-03-30 Thread Walter Goulet
Hi, Ok, so I've been trying to get started with testing Net-SSLeay for the Phalanx project. Now the problem I've been having is getting my arms around how to improve the coverage of the tests included with that module. It doesn't look like this module uses the t/ framework, rather a series of s

Interested in joining Phalanx

2005-03-16 Thread Walter Goulet
testing this module? Thanks, Walter Goulet