From 90172f49f859d84d1452d948aaed97acdb0e4c38 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 13 May 2017 11:21:28 -0400 Subject: Add nixos test for basic config. --- tests/common.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/common.nix (limited to 'tests') diff --git a/tests/common.nix b/tests/common.nix new file mode 100644 index 0000000..bf376e5 --- /dev/null +++ b/tests/common.nix @@ -0,0 +1,7 @@ +import ( { pkgs, ... }: { + machine = import ../config/common.nix; + testScript = '' + $machine->waitForUnit("default.target"); + $machine->succeed("uname") =~ /Linux/; + ''; +}) -- cgit v1.2.3