Commit Graph

3 Commits

Author SHA1 Message Date
Shogo Takata
8456f8a8cb nixosTests.password-option-override-ordering: fix build by removing crypt
This fixed the build failure of this test.
Python module crypt has been removed since python 3.13.
This PR uses `mkpasswd` to generate the same password for testing.
I have changed the name of the assert_password_match to indicate that
this only woks for sha512crypt algorithm.
2025-11-09 12:40:24 -08:00
Sizhe Zhao
f34483be5e nixosTests: handleTest -> runTest, batch 1
Reference: https://github.com/NixOS/nixpkgs/issues/386873
2025-05-26 20:40:17 +08:00
fidgetingbits
b84fb1e5cd nixos/tests: Add two new tests for password option override ordering
This commit adds two new tests to show that the ordering of password
overrides documentation in nixos/modules/config/user-groups.nix is
correct. The override behavior differs depending on whether a system
has systemd-sysusers enabled, so there are two tests.
2024-12-15 12:22:02 +08:00