Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/nixos/tests/simple.nix

16 lines
306 B
Nix
Raw Normal View History

all tests: added meta.maintainers section
2015-07-12 12:09:40 +02:00
import ./make-test.nix ({ pkgs, ...} : {
Fix evaluation
2014-07-01 16:28:23 +02:00
name = "simple";
all tests: added meta.maintainers section
2015-07-12 12:09:40 +02:00
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ eelco ];
};
* Add a trivial test that just starts a machine and shuts it down. svn path=/nixos/trunk/; revision=23765
2010-09-13 16:06:07 +00:00
machine = { config, pkgs, ... }: { };
testScript =
''
startAll;
Make it easier to run the tests You can now run a test in the nixos/tests directory directly using nix-build, e.g. $ nix-build '<nixos/tests/login.nix>' -A test This gets rid of having to add the test to nixos/tests/default.nix. (Of course, you still need to add it to nixos/release.nix if you want Hydra to run the test.)
2014-04-14 14:02:44 +02:00
$machine->waitForUnit("multi-user.target");
* Add a trivial test that just starts a machine and shuts it down. svn path=/nixos/trunk/; revision=23765
2010-09-13 16:06:07 +00:00
$machine->shutdown;
'';
all tests: added meta.maintainers section
2015-07-12 12:09:40 +02:00
})
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 598ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API