thing
This commit is contained in:
20
tests/testTest.nix
Normal file
20
tests/testTest.nix
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
pkgs.testers.runNixOSTest {
|
||||||
|
name = "test of tests";
|
||||||
|
|
||||||
|
nodes.machine =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
};
|
||||||
|
|
||||||
|
testScript = ''
|
||||||
|
start_all()
|
||||||
|
machine.wait_for_unit("multi-user.target")
|
||||||
|
machine.succeed("echo hello!")
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -9,4 +9,5 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
zfsTest = handleTest ./zfs.nix;
|
zfsTest = handleTest ./zfs.nix;
|
||||||
|
testTest = handleTest ./testTest.nix;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
pkgs.testers.runNixOSTest {
|
pkgs.testers.runNixOSTest {
|
||||||
name = "test of tests";
|
name = "zfs folder dependency and mounting test";
|
||||||
|
|
||||||
nodes.machine =
|
nodes.machine =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|||||||
Reference in New Issue
Block a user