summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/common.nix7
1 files changed, 7 insertions, 0 deletions
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 <nixpkgs/nixos/tests/make-test.nix> ( { pkgs, ... }: {
+ machine = import ../config/common.nix;
+ testScript = ''
+ $machine->waitForUnit("default.target");
+ $machine->succeed("uname") =~ /Linux/;
+ '';
+})