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?"
/Nicolas