diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-13 22:36:04 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-13 22:36:04 +0200 |
commit | 903c5d4df9b8175e70b4ad3d74525b09626f5b7d (patch) | |
tree | 28cabf3a9310f4fa1346fcba7c178b2294c23fb9 /nixos | |
parent | de7083a495d905495da0beb174c5f05cf6bcdf46 (diff) | |
download | nixlib-903c5d4df9b8175e70b4ad3d74525b09626f5b7d.tar nixlib-903c5d4df9b8175e70b4ad3d74525b09626f5b7d.tar.gz nixlib-903c5d4df9b8175e70b4ad3d74525b09626f5b7d.tar.bz2 nixlib-903c5d4df9b8175e70b4ad3d74525b09626f5b7d.tar.lz nixlib-903c5d4df9b8175e70b4ad3d74525b09626f5b7d.tar.xz nixlib-903c5d4df9b8175e70b4ad3d74525b09626f5b7d.tar.zst nixlib-903c5d4df9b8175e70b4ad3d74525b09626f5b7d.zip |
Test nixos-option
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/installer.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 6e06b544d258..bebd6c04374b 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -174,6 +174,11 @@ let $machine->succeed("nixos-rebuild switch >&2"); + # Test nixos-option. + $machine->succeed("nixos-option boot.initrd.kernelModules | grep virtio_console"); + $machine->succeed("nixos-option -d boot.initrd.kernelModules | grep 'List of modules'"); + $machine->succeed("nixos-option -l boot.initrd.kernelModules | grep /etc/nixos/configuration.nix"); + $machine->shutdown; # And just to be sure, check that the machine still boots after |