mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
zdtm: Handle --external option in RPC
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. travis-ci: success for tests: Add RPC testing to CI (rev2) Acked-by: Andrey Vagin <avagin@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
parent
65b7d746e3
commit
19ae737cb9
1 changed files with 3 additions and 0 deletions
|
|
@ -713,6 +713,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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue