Skip to content

Commit

Permalink
nixos/tests: add tests for install-grub-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
pluiedev committed Dec 5, 2024
1 parent 184bbab commit ac96ddc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ in {
grocy = handleTest ./grocy.nix {};
grow-partition = runTest ./grow-partition.nix;
grub = handleTest ./grub.nix {};
grub-ng = handleTest ./grub.nix { ng = true; };
guacamole-server = handleTest ./guacamole-server.nix {};
guix = handleTest ./guix {};
gvisor = handleTest ./gvisor.nix {};
Expand Down
4 changes: 3 additions & 1 deletion nixos/tests/grub.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ./make-test-python.nix ({ lib, ... }: {
import ./make-test-python.nix ({ lib, ng ? false, ... }: {
name = "grub";

meta = with lib.maintainers; {
Expand All @@ -13,6 +13,8 @@ import ./make-test-python.nix ({ lib, ... }: {
enable = true;
users.alice.password = "supersecret";

useInstallNg = ng;

# OCR is not accurate enough
extraConfig = "serial; terminal_output serial";
};
Expand Down

0 comments on commit ac96ddc

Please sign in to comment.