mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
test: rpc: fix log_level in test.c and add log_level to test.py
Hi! Added "has_log_level = true" to test.c, so "log_level = 4" would have effect. Also added log_level to test.py, for symmetry with test.c. Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
2503fd7da5
commit
1f8768dff1
@@ -100,6 +100,7 @@ int main()
|
||||
req.opts->images_dir_fd = dir_fd;
|
||||
req.opts->has_shell_job = true;
|
||||
req.opts->shell_job = true;
|
||||
req.opts->has_log_level = true;
|
||||
req.opts->log_level = 4;
|
||||
|
||||
/*
|
||||
|
@@ -16,6 +16,7 @@ req = rpc.criu_req()
|
||||
req.type = rpc.DUMP
|
||||
req.opts.leave_running = True
|
||||
req.opts.shell_job = True
|
||||
req.opts.log_level = 4
|
||||
|
||||
if not os.path.exists('imgs_py'):
|
||||
os.makedirs('imgs_py')
|
||||
|
Reference in New Issue
Block a user