* Add a trivial test that just starts a machine and shuts it down.
svn path=/nixos/trunk/; revision=23765
This commit is contained in:
parent
f8f04aa756
commit
0fccd7bb49
|
@ -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
11
tests/simple.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
machine = { config, pkgs, ... }: { };
|
||||
|
||||
testScript =
|
||||
''
|
||||
startAll;
|
||||
$machine->shutdown;
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue