mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +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" ''
|
||||
${coreutils}/bin/mkdir -p client
|
||||
export > client/saved-env
|
||||
${coreutils}/bin/mkdir -p vm-state-client
|
||||
export > vm-state-client/saved-env
|
||||
export PATH=${qemu_kvm}/bin:${coreutils}/bin
|
||||
cp ${./test-driver/Machine.pm} Machine.pm
|
||||
export tests='${testscript}'
|
||||
${testDriver}/bin/nixos-test-driver ${vms}/vms/*/bin/run-*-vm
|
||||
''; # */
|
||||
|
Loading…
Reference in New Issue
Block a user