diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-09-13 16:06:07 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-09-13 16:06:07 +0000 |
commit | 0fccd7bb492fabe8985087f2790ec6d2168978d1 (patch) | |
tree | ff6f5cfb4c504c35d3bd15aa84c6366f2a19906e /tests/simple.nix | |
parent | f8f04aa756eb97bd886841f81df262ed381de171 (diff) | |
download | nixpkgs-0fccd7bb492fabe8985087f2790ec6d2168978d1.tar nixpkgs-0fccd7bb492fabe8985087f2790ec6d2168978d1.tar.gz nixpkgs-0fccd7bb492fabe8985087f2790ec6d2168978d1.tar.bz2 nixpkgs-0fccd7bb492fabe8985087f2790ec6d2168978d1.tar.lz nixpkgs-0fccd7bb492fabe8985087f2790ec6d2168978d1.tar.xz nixpkgs-0fccd7bb492fabe8985087f2790ec6d2168978d1.tar.zst nixpkgs-0fccd7bb492fabe8985087f2790ec6d2168978d1.zip |
* Add a trivial test that just starts a machine and shuts it down.
svn path=/nixos/trunk/; revision=23765
Diffstat (limited to 'tests/simple.nix')
-rw-r--r-- | tests/simple.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/simple.nix b/tests/simple.nix new file mode 100644 index 00000000000..eee13a10133 --- /dev/null +++ b/tests/simple.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: + +{ + machine = { config, pkgs, ... }: { }; + + testScript = + '' + startAll; + $machine->shutdown; + ''; +} |