nixos/tests/nixos-rebuild-install-bootloader: check boot loader entries

This commit is contained in:
rnhmjoj
2025-02-28 09:58:49 +01:00
parent 7e6d6f778c
commit 5e5476e544
@@ -71,5 +71,8 @@ import ./make-test-python.nix ({ pkgs, lib, withNg ? false, ... }: {
# at this point we've tested regression #262724, but haven't tested the bootloader itself
# TODO: figure out how to how to tell the test driver to start the bootloader instead of
# booting into the kernel directly.
with subtest("New boot entry has been added"):
machine.succeed("test -f /boot/loader/entries/nixos-generation-2.conf")
'';
})