This commit is contained in:
2025-08-07 21:21:43 -07:00
parent 1242ba2274
commit ca3ea3166f
3 changed files with 22 additions and 1 deletions

20
tests/testTest.nix Normal file
View 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!")
'';
}

View File

@@ -9,4 +9,5 @@ let
in in
{ {
zfsTest = handleTest ./zfs.nix; zfsTest = handleTest ./zfs.nix;
testTest = handleTest ./testTest.nix;
} }

View File

@@ -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, ... }: