Marc Haber pushed to branch debian-bug-1099470 at Debian / adduser
Commits:
a63119fc by Marc Haber at 2025-03-04T17:52:14+01:00
do also a test with * as password
Git-Dch: ignore
- - - - -
1 changed file:
- debian/tests/f/adduser_system.t
Changes:
=====================================
debian/tests/f/adduser_system.t
=====================================
@@ -139,8 +139,24 @@ assert_command_success('/usr/sbin/adduser',
'--disabled-login',
'aust');
assert_user_exists('aust');
+
system('echo "aust:*" | chpasswd --encrypted');
+assert_command_success('/usr/sbin/adduser',
+ '--stdoutmsglevel=error', '--stderrmsglevel=error',
+ '--system',
+ '--disabled-login',
+ 'aust');
+assert_user_exists('aust');
+
+system('echo "aust:!foobar" | chpasswd --encrypted');
+assert_command_success('/usr/sbin/adduser',
+ '--stdoutmsglevel=error', '--stderrmsglevel=error',
+ '--system',
+ '--disabled-login',
+ 'aust');
+assert_user_exists('aust');
+system('echo "aust:*foobar" | chpasswd --encrypted');
assert_command_success('/usr/sbin/adduser',
'--stdoutmsglevel=error', '--stderrmsglevel=error',
'--system',
View it on GitLab:
https://salsa.debian.org/debian/adduser/-/commit/a63119fc9a0aa739f4b90616f53ff9bd524fd9f2
--
View it on GitLab:
https://salsa.debian.org/debian/adduser/-/commit/a63119fc9a0aa739f4b90616f53ff9bd524fd9f2
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
Pkg-shadow-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-shadow-devel