GNU bug report logs - #63198
cups-service-type uses PAM-enabled 'cups' by default which prevents authentication

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 1 May 2023 03:09:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #46 received at submit <at> debbugs.gnu.org (full text, mbox):

From: muradm <mail <at> muradm.net>
To: Csepp <raingloom <at> riseup.net>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, 63198 <at> debbugs.gnu.org,
 bug-guix <at> gnu.org, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: End-to-end tests Was: bug#63198: cups-service-type uses
 PAM-enabled 'cups' by default which prevents authentication
Date: Wed, 24 May 2023 14:28:26 +0300
[Message part 1 (text/plain, inline)]
Csepp <raingloom <at> riseup.net> writes:

> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
> It might be a good idea to have more end-to-end tests in Guix 
> that would
> check if common operations like "finding a printer" work.  It's 
> quite a
> bit of up-front effort, but it's better than relying on manual 
> testing
> and could make things smoother in the long run.
> SUSE has a cool testing framework based on screen captures, 
> maybe it
> could be adapted to Guix?

There is already test framework within Guix. You may find 
information at:
https://guix.gnu.org/manual/en/guix.html#Running-the-Test-Suite

In short, there are unit tests and system tests which can be found 
at
gnu/tests/*.scm for inspiration. It is just a matter of 
time/resource
availability to write tests.

For cups specifically, you may not need screen capture processing 
or
similar. It should be enough to use CLI tools available out of the 
box.

muradm
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.