mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/tests/systemd: pkgs.systemd -> nodes.machine.systemd.package
This makes it easier to tests changes from staging without having to rebuild the whole world and instead just supplying a new systemd package via the module system.
This commit is contained in:
parent
e1fb78a748
commit
e0e1338ba4
1 changed files with 2 additions and 2 deletions
|
|
@ -109,10 +109,10 @@
|
|||
machine.wait_for_unit("first-boot-complete.target")
|
||||
|
||||
machine.succeed(
|
||||
"journalctl --system -o cat --grep 'systemd ${lib.escapeRegex pkgs.systemd.version} running'"
|
||||
"journalctl --system -o cat --grep 'systemd ${lib.escapeRegex nodes.machine.systemd.package.version} running'"
|
||||
)
|
||||
|
||||
assert "systemd ${lib.versions.major pkgs.systemd.version} (${pkgs.systemd.version})" in machine.succeed(
|
||||
assert "systemd ${lib.versions.major nodes.machine.systemd.package.version} (${nodes.machine.systemd.package.version})" in machine.succeed(
|
||||
"systemctl --version"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue