🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.tech.userlevel
Article #81

Re: Feedback requested: Initial ATF tests for PAM modules

#81
From: Greg Troxel
Date: Tue, 24 Nov 2026 13:12
28 lines
2764 bytes
Ky Nguyen <qkyng041@gmail.com> writes:

> Hi,
>
> I'm working on the NetBSD PAM testing project and have opened a GitHub pull
> request with an implementation of ATF tests for several PAM modules.
>
> Pull request: https://github.com/NetBSD/src/pull/90
>
> The current patch includes tests for pam_permit, pam_deny, pam_exec, and
> pam_krb5 (missing keytab case).
>
> I would appreciate feedback on whether the testing approach and test cases
> fit with NetBSD's conventions. Syntax checks have passed on macOS, but the
> tests have not yet been run on NetBSD.
>
> Could you tell me how you would like me to proceed?

I would suggest that you run the tests; it isn't the best use of human
reviewer time to examine code that hasn't been shown to work (outside of
an organization with an incredibly high level of software process).

Do a full releasae build, install it, and run the full tests.  You can
do that install/run part with anita.   You can run NetBSD in a VM.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <rmieccabcgr.fsf@s1.lexort.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <CAELNPohusy2ADWcDgEUT8uy=AF-YrXgy2yi1gg3iOLk94UDapg@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Greg Troxel <gdt@lexort.com>
Newsgroups: muc.lists.netbsd.tech.userlevel
Subject: Re: Feedback requested: Initial ATF tests for PAM modules
Date: Tue, 24 Nov 2026 08:12:04 -0500
Organization: Newsgate at muc.de e.V.
Sender: tech-userlevel-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <rmieccabcgr.fsf@s1.lexort.com>
References: <CAELNPohusy2ADWcDgEUT8uy=AF-YrXgy2yi1gg3iOLk94UDapg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="81530"; mail-complaints-to="news-admin@muc.de"
User-Agent: Gnus/5.13 (Gnus v5.13)
Authentication-Results: mail.netbsd.org (amavisd-new);
	dkim=pass (1024-bit key) header.d=lexort.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lexort.com; s=mail;
	t=1795525925; bh=VwTqdReTmN0/AgFhJluWOe2YcblGlJmTjHggVFZNq8s=;
	h=From:To:Cc:Subject:In-Reply-To:References:Date;
	b=DnCdPIDMlztlE/MLvg1fio6lK6N1a91zXnYyZgxXKmM2skaOfT0fYp4I1GqkoWB6S
	 99xBLgMO8+Pi2gwyMJ3cjevSbDz8ZTU8ye5fW0LZVrqYjjR9nVjROpYalhjH5kVBHY
	 ZM10bd45qOVHOwezuPVmvuLILLUYKq2WnVXZjqLM=
In-Reply-To: <CAELNPohusy2ADWcDgEUT8uy=AF-YrXgy2yi1gg3iOLk94UDapg@mail.gmail.com>
	(Ky Nguyen's message of "Mon, 23 Nov 2026 21:07:11 -0500")
OpenPGP: id=098ED60E
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes