On Thu, Mar 12, 2026 at 10:59:30AM -0400, Nicolas Mora wrote:
> Hello, thanks a lot for all your feedbacks!
> 
> Le 2026-03-10 à 19 h 16, Peter Pentchev a écrit :
> 
> > 
> > So installing the passwd package HIDES the truth from sshd, and
> > the tests pass because sshd simply doesn't know the account is locked :)
> > 
> > With that in mind, of course it is up to the libssh2 Debian package
> > maintainers to decide how to handle this. I still believe that disabling
> > the test at package build time and only running it as autopkgtest is
> > correct for the remrun package.
> > 
> I explicitly added openssh-server in builddep, because before that, sshd
> tests were executed if openssh-server was present in the build system, which
> lead to #1006379.
> 
> I have no problem disabling sshd tests in build but when you say enabling it
> in autopkgtest, I should install openssh-server and password during
> autopkgtest, won't the autopkgtest result be also a "happy accident?"

If you specify "needs-root" and "breaks-testbed", your autopkgtest is
free to create any user account it wants to, or to unlock any user account
it wants to use.

G'luck,
Peter

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

Attachment: signature.asc
Description: PGP signature

Reply via email to