diff options
Diffstat (limited to 'tests/common.nix')
| -rw-r--r-- | tests/common.nix | 7 |
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/; + ''; +}) |
