Control: tags -1 + patch

On Mon, Jun 15, 2026 at 11:30:01AM +0200, Chris Hofstädtler wrote:
> the pam-test and pam-auth-update call `useradd`, from the binary 
> package `passwd`. This is not guaranteed to be installed in all test 
> scenarios. Please add `passwd` to debian/tests/control.

Please find a patch attached.

Chris

>From b3f9d4a283f0c138aa4014a02cda5c78836b693e Mon Sep 17 00:00:00 2001
From: Chris Hofstaedtler <[email protected]>
Date: Mon, 15 Jun 2026 11:25:04 +0200
Subject: [PATCH] pam-test: needs useradd from passwd

Closes: #1140048
---
 debian/tests/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index 07797e1d..eabed362 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,7 +1,7 @@
 Tests: pam-auth-update
-Depends: libpam-modules, libpam-runtime, libpam0g
+Depends: libpam-modules, libpam-runtime, libpam0g, passwd
 Restrictions:  needs-root, allow-stderr
 
 Tests: pam-test
-Depends: libpam-modules, libpam-runtime, libpam0g, python3-pam
+Depends: libpam-modules, libpam-runtime, libpam0g, python3-pam, passwd
 Restrictions:  needs-root
-- 
2.53.0

Reply via email to