diff options
author | Eric Culp <eculperic@gmail.com> | 2020-01-19 10:33:46 -0800 |
---|---|---|
committer | Eric Culp <eculperic@gmail.com> | 2020-01-19 10:33:46 -0800 |
commit | 6795a4002c1508db2ee23a8d35117a09673c06dd (patch) | |
tree | 546911fd8a9cf12c8c4e60ac813aeaba80cad7fa /nixos/lib/test-driver | |
parent | 21f567bdd9e9abe1ce8d0a2b6595670ba9f2682b (diff) |
test-driver.py: Use /tmp/shared for copy_from_vm
The docstring says it uses a directory shared among all vms, although that doesn't seem necessary for the functionality. However, it does need to be consistent between the guest and host.
Diffstat (limited to 'nixos/lib/test-driver')
-rw-r--r-- | nixos/lib/test-driver/test-driver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/test-driver/test-driver.py b/nixos/lib/test-driver/test-driver.py index d5212413284aa..faa861c2f21c2 100644 --- a/nixos/lib/test-driver/test-driver.py +++ b/nixos/lib/test-driver/test-driver.py @@ -576,7 +576,7 @@ class Machine: vm_src = pathlib.Path(source) with tempfile.TemporaryDirectory(dir=self.shared_dir) as shared_td: shared_temp = pathlib.Path(shared_td) - vm_shared_temp = pathlib.Path("/tmp/xchg") / shared_temp.name + vm_shared_temp = pathlib.Path("/tmp/shared") / shared_temp.name vm_intermediate = vm_shared_temp / vm_src.name intermediate = shared_temp / vm_src.name # Copy the file to the shared directory inside VM |