Merge #97746: test-driver.py: defaulting keepVmState
This commit is contained in:
commit
2bb1868f76
@ -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…
Reference in New Issue
Block a user