From 1f8768dff10a76ad1e5e3bf6fac5f6e574b15d61 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Mon, 14 Oct 2013 13:21:22 +0400 Subject: [PATCH] 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 Signed-off-by: Pavel Emelyanov --- test/rpc/test.c | 1 + test/rpc/test.py | 1 + 2 files changed, 2 insertions(+) diff --git a/test/rpc/test.c b/test/rpc/test.c index 46cabc101..44812042b 100644 --- a/test/rpc/test.c +++ b/test/rpc/test.c @@ -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; /* diff --git a/test/rpc/test.py b/test/rpc/test.py index dcae3d112..5c30ef241 100755 --- a/test/rpc/test.py +++ b/test/rpc/test.py @@ -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')