2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +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:
Ruslan Kuprieiev 2013-10-14 13:21:22 +04:00 committed by Pavel Emelyanov
parent 2503fd7da5
commit 1f8768dff1
2 changed files with 2 additions and 0 deletions

View File

@ -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;
/*

View File

@ -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')