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.
This commit is contained in:
Andreas Rammhold 2020-10-24 22:17:32 +02:00
parent fa25d84d13
commit 73635b859d
No known key found for this signature in database
GPG key ID: E432E410B5E48C86

View file

@ -255,7 +255,7 @@ rec {
unset xchg
export tests='${testScript}'
${mkTestDriver qemu}/bin/nixos-test-driver ${vm.config.system.build.vm}/bin/run-*-vm
${mkTestDriver qemu}/bin/nixos-test-driver --keep-vm-state ${vm.config.system.build.vm}/bin/run-*-vm
''; # */
in