From 5e5476e544c786c1301c86750eb4f595c13fc9ee Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Mon, 23 Dec 2024 11:30:05 +0100 Subject: [PATCH] nixos/tests/nixos-rebuild-install-bootloader: check boot loader entries --- nixos/tests/nixos-rebuild-install-bootloader.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/tests/nixos-rebuild-install-bootloader.nix b/nixos/tests/nixos-rebuild-install-bootloader.nix index 1e517871e7d1..64d978119d57 100644 --- a/nixos/tests/nixos-rebuild-install-bootloader.nix +++ b/nixos/tests/nixos-rebuild-install-bootloader.nix @@ -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") ''; })