* Add a trivial test that just starts a machine and shuts it down.

svn path=/nixos/trunk/; revision=23765
This commit is contained in:
Eelco Dolstra 2010-09-13 16:06:07 +00:00
parent f8f04aa756
commit 0fccd7bb49
2 changed files with 12 additions and 0 deletions

View file

@ -18,6 +18,7 @@ with import ../lib/testing.nix { inherit nixpkgs services system; };
proxy = makeTest (import ./proxy.nix);
quake3 = makeTest (import ./quake3.nix);
remote_builds = makeTest (import ./remote-builds.nix);
simple = makeTest (import ./simple.nix);
subversion = makeTest (import ./subversion.nix);
trac = makeTest (import ./trac.nix);
}

11
tests/simple.nix Normal file
View file

@ -0,0 +1,11 @@
{ pkgs, ... }:
{
machine = { config, pkgs, ... }: { };
testScript =
''
startAll;
$machine->shutdown;
'';
}