Merge pull request #311574 from lf-/jade/fix-nixos-installtest-nixos-option

nixosTests.installer: test nixos-option anew

authored by Jade Lovelace and committed by GitHub 007f0f90 9202f187

+5 -6
+5 -6
nixos/tests/installer.nix
··· 249 249 with subtest("Check whether nixos-rebuild works"): 250 250 target.succeed("nixos-rebuild switch >&2") 251 251 252 - # FIXME: Nix 2.4 broke nixos-option, someone has to fix it. 253 - # with subtest("Test nixos-option"): 254 - # kernel_modules = target.succeed("nixos-option boot.initrd.kernelModules") 255 - # assert "virtio_console" in kernel_modules 256 - # assert "List of modules" in kernel_modules 257 - # assert "qemu-guest.nix" in kernel_modules 252 + with subtest("Test nixos-option"): 253 + kernel_modules = target.succeed("nixos-option boot.initrd.kernelModules") 254 + assert "virtio_console" in kernel_modules 255 + assert "List of modules" in kernel_modules 256 + assert "qemu-guest.nix" in kernel_modules 258 257 259 258 target.shutdown() 260 259