diff --git a/tests/testTest.nix b/tests/testTest.nix new file mode 100644 index 0000000..4193b76 --- /dev/null +++ b/tests/testTest.nix @@ -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!") + ''; +} diff --git a/tests/tests.nix b/tests/tests.nix index 4ac524c..d729c74 100644 --- a/tests/tests.nix +++ b/tests/tests.nix @@ -9,4 +9,5 @@ let in { zfsTest = handleTest ./zfs.nix; + testTest = handleTest ./testTest.nix; } diff --git a/tests/zfs.nix b/tests/zfs.nix index 4ac0fcd..6bfabfc 100644 --- a/tests/zfs.nix +++ b/tests/zfs.nix @@ -5,7 +5,7 @@ ... }: pkgs.testers.runNixOSTest { - name = "test of tests"; + name = "zfs folder dependency and mounting test"; nodes.machine = { pkgs, ... }: