Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2022-03-31 04:41:00 +0300
committerAndrei Vagin <avagin@gmail.com>2022-04-29 03:53:52 +0300
commitf16976c033c8e1561acab7dfa48c98cb444a8109 (patch)
treef6469eb8d95b45e73d2c0eb792dd5bdd09263a7b /test
parentfab46c31000499d8ba30939c33fd66dcddde8dee (diff)
test/zdtm.py: rename a var
Codespell thinks that pres is a misspelled pres. Rename to pre. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/zdtm.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/zdtm.py b/test/zdtm.py
index a8704b3d7..5b6b71f57 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -1556,8 +1556,8 @@ def cr(cr_api, test, opts):
iters = iter_parm(opts['iters'], 1)
for i in iters[0]:
- pres = iter_parm(opts['pre'], 0)
- for p in pres[0]:
+ pre = iter_parm(opts['pre'], 0)
+ for p in pre[0]:
if opts['snaps']:
sbs('before snap %d' % p)
cr_api.dump("dump", opts=["--leave-running", "--track-mem"])
@@ -1566,7 +1566,7 @@ def cr(cr_api, test, opts):
cr_api.dump("pre-dump")
try_run_hook(test, ["--post-pre-dump"])
test.pre_dump_notify()
- time.sleep(pres[1])
+ time.sleep(pre[1])
sbs('before dump')