mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
lib/testing.nix: vm state of nixos machines in network changed location
svn path=/nixos/trunk/; revision=25222
This commit is contained in:
parent
e1c4b6a1f5
commit
c8afc67f6a
@ -179,10 +179,9 @@ rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
vmRunCommand = writeText "vm-run" ''
|
vmRunCommand = writeText "vm-run" ''
|
||||||
${coreutils}/bin/mkdir -p client
|
${coreutils}/bin/mkdir -p vm-state-client
|
||||||
export > client/saved-env
|
export > vm-state-client/saved-env
|
||||||
export PATH=${qemu_kvm}/bin:${coreutils}/bin
|
export PATH=${qemu_kvm}/bin:${coreutils}/bin
|
||||||
cp ${./test-driver/Machine.pm} Machine.pm
|
|
||||||
export tests='${testscript}'
|
export tests='${testscript}'
|
||||||
${testDriver}/bin/nixos-test-driver ${vms}/vms/*/bin/run-*-vm
|
${testDriver}/bin/nixos-test-driver ${vms}/vms/*/bin/run-*-vm
|
||||||
''; # */
|
''; # */
|
||||||
|
Loading…
Reference in New Issue
Block a user