Skip to content

Commit c1e72c1

Browse files
committed
tests/test_checkpoint_restore.py: fixup
Commit 0dceab0 did not define the work_dir for one of the cases. Fixes: 0dceab0 ("commit tests: add --work-path to criu test") Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent e5d2489 commit c1e72c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_checkpoint_restore.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def _get_pre_dump_size(cr_dir):
161161

162162
cid = None
163163
cr_dir = os.path.join(get_tests_root(), 'pre-dump')
164+
work_dir = 'work-dir'
164165
try:
165166
_, cid = run_and_get_output(
166167
conf,
@@ -187,7 +188,6 @@ def _get_pre_dump_size(cr_dir):
187188

188189
# Do the final dump. This dump should be much smaller.
189190
cr_dir = os.path.join(get_tests_root(), 'checkpoint')
190-
work_dir = 'work-dir'
191191
run_crun_command([
192192
"checkpoint",
193193
"--parent-path=../pre-dump",

0 commit comments

Comments
 (0)