mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
nixos/tests/chrony: actually restart chrony when switching to hardened config
This breaks the test. Fun.
This commit is contained in:
parent
7dd3489dab
commit
97a449ee8f
@ -23,7 +23,8 @@ import ./make-test-python.nix ({ lib, ... }:
|
||||
machine.start()
|
||||
machine.wait_for_unit('multi-user.target')
|
||||
machine.succeed('systemctl is-active chronyd.service')
|
||||
machine.succeed('/run/current-system/specialisation/hardened/bin/switch-to-configuration test')
|
||||
machine.succeed('systemctl is-active chronyd.service')
|
||||
machine.succeed('/run/booted-system/specialisation/hardened/bin/switch-to-configuration test')
|
||||
machine.succeed('systemctl restart chronyd.service')
|
||||
machine.wait_for_unit('chronyd.service')
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user