Move all of NixOS to nixos/ in preparation of the repository merge

This commit is contained in:
Eelco Dolstra
2013-10-10 13:28:20 +02:00
parent 6070bc016b
commit 5c1f8cbc70
481 changed files with 0 additions and 0 deletions

18
nixos/tests/kexec.nix Normal file
View File

@@ -0,0 +1,18 @@
# Test whether fast reboots via kexec work.
{ pkgs, ... }:
{
machine = { config, pkgs, ... }:
{ virtualisation.vlans = [ ]; };
testScript =
''
$machine->waitForUnit("multi-user.target");
$machine->execute("systemctl kexec &");
$machine->{connected} = 0;
$machine->waitForUnit("multi-user.target");
'';
}