aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-11 21:25:03 +0000
committertv <tv@krebsco.de>2026-11-11 21:25:03 +0000
commita018f44c9132ffa5c7b987369010868d0bc95c74 (patch)
tree62f59ff4cb8c3b44978eb6485153ecb25b742876 /pkgs
parent1dc0ba39d8103e072d8cc8676f0ac19dbe3f8e1b (diff)
tests: add NixOS VM tests for populate
tests/default.nix provides one VM test per source type, and one for features spanning sources. Each test runs scenarios from tests/scenarios.nix, which cover every combination of a source type's options, deployed to the deploying machine itself, to a remote target as root, and to a remote target using sudo. A scenario prepares the target directory, deploys, checks the result, and deploys and checks again. Scenarios expecting populate to fail check its error message, or check at evaluation time if populate is expected not to evaluate. The deploying machine creates fixtures using tests/fixtures.sh and serves them via HTTP and git daemon, so flakes can be fetched on the target without further network access. Checks evaluate delivered flakes without network access to the fixtures after collecting garbage, so they verify that the delivered store paths are complete and rooted.
Diffstat (limited to 'pkgs')
0 files changed, 0 insertions, 0 deletions