clan tests: allow testing CLI interactions

This is an improvement of the clanTest nixos vm test module.

The module now has a new option clan.test.fromFlake that allows to specify a flake.nix as the source for the test clan instead of specifying clan.XXX options.

This in turn allows accessing the `flake.nix` inside the test driver allowing to use the clan cli on it
This commit is contained in:
DavHau
2025-06-11 18:47:12 +07:00
parent 86f6458cce
commit 6f451c700d
10 changed files with 301 additions and 26 deletions

View File

@@ -0,0 +1,5 @@
{
imports = [
../shared.nix
];
}