Michael Hoang
850160d120
nixos_test_lib: fix Nix in Nix not working with driverInteractive
2025-10-01 14:33:23 +02:00
Jörg Thalheim
23d11651fc
Preserve symlinks during store copy
2025-08-25 14:11:25 +02:00
Jörg Thalheim
70d1dd0deb
nix_setup/cp: remove xcp again
2025-08-25 13:33:13 +02:00
Jörg Thalheim
3e664255d6
speed up tests by doing reflink copies
2025-08-19 15:16:56 +02:00
Jörg Thalheim
fdfbed1a3f
nixos_test_lib/setup_ssh_connection: no forward in container tests
2025-07-30 09:54:50 +02:00
Jörg Thalheim
f44b8c63c2
nixos_test_lib/prepare_test_flake: return a Path instead of str
2025-07-30 09:54:50 +02:00
Jörg Thalheim
15b0a84314
nixoTestLib: split setting up function for port-forwarding and setuping up flake
2025-07-04 16:56:42 +02:00
Jörg Thalheim
7f744079a6
nixosTestLib: use xargs for copying store inputs
2025-07-04 14:36:05 +02:00
Jörg Thalheim
4775f2b473
nixosTestLib: substitute dependencies on tools in
2025-07-04 14:36:05 +02:00
Jörg Thalheim
764cd54ee5
nixosTestLib: fix various linting issues
2025-07-04 14:36:05 +02:00
Jörg Thalheim
a58e128b3a
inline create_test_machine again
2025-07-04 14:36:05 +02:00
Jörg Thalheim
81774c4ac4
setup_nix_in_nix: use cp intead of shutil
...
it's faster and handles symlinks
2025-07-04 14:36:05 +02:00
Jörg Thalheim
f5b54443da
move nixosTestLib to pkgs/testing
2025-07-04 14:36:05 +02:00
Jörg Thalheim
3059f10da3
move setup_nix_in_nix into nixos_test_lib
2025-07-04 14:36:02 +02:00
Jörg Thalheim
e5ff78c28f
Apply nix fmt on setupNixInNixPython-only
2025-06-17 12:01:12 +02:00
DavHau
6f451c700d
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
2025-06-11 19:30:13 +07:00
Michael Hoang
b81d0e9ba6
testing: fix Nix in Nix when remote building
2025-06-09 20:58:08 +07:00
DavHau
0060424152
tests: test vars generation for all clan service tests
2025-05-31 12:17:52 +07:00