Unverified Commit 5e5476e5 authored by rnhmjoj's avatar rnhmjoj
Browse files

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

parent 7e6d6f77
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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")
    '';
})