mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
Merge #97746: test-driver.py: defaulting keepVmState
(cherry picked from commit 2bb1868f76
)
I re-checked some of the regressed tests on 20.09.
This commit is contained in:
parent
ae8cbb739f
commit
3f99424c9a
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ class Machine:
|
|||
return path
|
||||
|
||||
self.state_dir = os.path.join(tmp_dir, f"vm-state-{self.name}")
|
||||
if not args["keepVmState"]:
|
||||
if not args.get("keepVmState", False):
|
||||
self.cleanup_statedir()
|
||||
os.makedirs(self.state_dir, mode=0o700, exist_ok=True)
|
||||
self.shared_dir = create_dir("shared-xchg")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue