nixos/tests: fix testDriver reference in runInMachine function

In a previous commit I broke this as there is no longer one testDriver
but only a function to generate one based on some QEMU inputs.
This commit is contained in:
Andreas Rammhold 2020-10-24 21:28:38 +02:00
parent 61b09f552c
commit fa25d84d13
No known key found for this signature in database
GPG key ID: E432E410B5E48C86

View file

@ -200,6 +200,7 @@ rec {
, machine
, preBuild ? ""
, postBuild ? ""
, qemu ? pkgs.qemu_test
, ... # ???
}:
let
@ -254,7 +255,7 @@ rec {
unset xchg
export tests='${testScript}'
${testDriver}/bin/nixos-test-driver ${vm.config.system.build.vm}/bin/run-*-vm
${mkTestDriver qemu}/bin/nixos-test-driver ${vm.config.system.build.vm}/bin/run-*-vm
''; # */
in