ben | 4 Jan 2012 01:10
Favicon

test cases

I have been writing a pam module which includes a perl interpreter. One
of the things I would like to include in a stable release is some test
cases. Does anyone have a good collection of test cases that I could
barrow? steal? use for inspiration? maybe a test case for a unix auth
module?

thanks,
ben

--

-- 
Ben Hildred
Estimator
Applied Plastic Coatings, Inc.
5000 Tabor St.
Wheat Ridge, CO 80033
303 424 9200
F: 303 424 8800
ben <at> appliedplastic.com
http://appliedplastic.com
Darren Tucker | 4 Jan 2012 04:26
Picon
Picon

Re: test cases

On Wed, Jan 4, 2012 at 11:10 AM, ben <ben <at> appliedplastic.com> wrote:
> I have been writing a pam module which includes a perl interpreter. One
> of the things I would like to include in a stable release is some test
> cases. Does anyone have a good collection of test cases that I could
> barrow? steal? use for inspiration? maybe a test case for a unix auth
> module?

I wrote an interactive test harness which is here:
http://www.zipworld.com.au/~dtucker/patches/#pamtest

It's BSD licensed so you're welcome to use any part of it for your tests.

--

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Gmane