mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
userborn: 0.1.0 -> 0.2.0 (#341039)
This commit is contained in:
commit
2eeebc0d5d
2 changed files with 12 additions and 3 deletions
|
@ -99,6 +99,10 @@ in
|
|||
with subtest("sysusers group is created"):
|
||||
print(machine.succeed("getent group sysusers"))
|
||||
|
||||
with subtest("Check files"):
|
||||
print(machine.succeed("grpck -r"))
|
||||
print(machine.succeed("pwck -r"))
|
||||
|
||||
|
||||
machine.succeed("/run/current-system/specialisation/new-generation/bin/switch-to-configuration switch")
|
||||
|
||||
|
@ -123,5 +127,9 @@ in
|
|||
|
||||
with subtest("new-group group is created after switching to new generation"):
|
||||
print(machine.succeed("getent group new-group"))
|
||||
|
||||
with subtest("Check files"):
|
||||
print(machine.succeed("grpck -r"))
|
||||
print(machine.succeed("pwck -r"))
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue