[CRIU] [PATCH 3/4] zdtm: Handle --external option in RPC

Pavel Emelyanov xemul at virtuozzo.com
Mon Nov 7 20:38:21 PST 2016


Travis sets up the GCOV variable to collect coverage and
provides an external mount for this. Thus handling this
option in RPC mode is essential.

Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
 test/zdtm.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/zdtm.py b/test/zdtm.py
index b36171d..0d8503f 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -715,6 +715,9 @@ class criu_rpc:
 			if arg == '--root':
 				criu.opts.root = args.pop(0)
 				continue
+			if arg == '--external':
+				criu.opts.external.append(args.pop(0))
+				continue
 
 			raise test_fail_exc('RPC for %s required' % arg)
 
-- 
2.1.4



More information about the CRIU mailing list