Re: test cases

Darren Tucker <[email protected]>
Newsgroups gmane.linux.pam
Message-ID <CALDDTe2t_9Re136vaKafbjKp4xe3_BWfNSCQiTJ+objdj-ESuQ@mail.gmail.com>
On Wed, Jan 4, 2012 at 11:10 AM, ben <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.