Skip to content

Commit

Permalink
Merge #97746: test-driver.py: defaulting keepVmState
Browse files Browse the repository at this point in the history
(cherry picked from commit 2bb1868)
I re-checked some of the regressed tests on 20.09.
  • Loading branch information
vcunat committed Sep 11, 2020
1 parent ae8cbb7 commit 3f99424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/lib/test-driver/test-driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def create_dir(name: str) -> str:
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")
Expand Down

0 comments on commit 3f99424

Please sign in to comment.