git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/tests: fix runInMachine

In 5500dc8 we introduced the --keep-vm-state flag and defaulted to that flag not being set. This lead to the `runInMachine` tests not longer working and that going unnoticed for quite some time now.

commit73635b859d75a0789623969adef9e46cc4b34e23 authorAndreas Rammhold <andreas@rammhold.de> dateSat 24 Oct 2020, 22:17 (6 years ago) parentfa25d84
1 file changed+1−1
nixos/lib/testing-python.nix+1−1
nixos/lib/testing-python.nix+1−1
@@ -255,7 +255,7 @@ rec {
255255 unset xchg
256256
257257 export tests='${testScript}'
258− ${mkTestDriver qemu}/bin/nixos-test-driver ${vm.config.system.build.vm}/bin/run-*-vm
258+ ${mkTestDriver qemu}/bin/nixos-test-driver --keep-vm-state ${vm.config.system.build.vm}/bin/run-*-vm
259259 ''; # */
260260
261261 in