Commit 2e637541 authored by Pavel Emelyanov's avatar Pavel Emelyanov

zdtm: Fix --ext-mount-map to --external

Now the --ext-mount-map is deprecated option, so fix it to
become the --external one.

travis-ci: success for tests: Add RPC testing to CI (rev2)
Acked-by: 's avatarAndrey Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent d5fc5dbb
...@@ -879,8 +879,8 @@ class criu: ...@@ -879,8 +879,8 @@ class criu:
criu_dir = os.path.dirname(os.getcwd()) criu_dir = os.path.dirname(os.getcwd())
if os.getenv("GCOV"): if os.getenv("GCOV"):
a_opts.append("--ext-mount-map") a_opts.append('--external')
a_opts.append("%s:zdtm" % criu_dir) a_opts.append('mnt[%s]:zdtm' % criu_dir)
if self.__leave_stopped: if self.__leave_stopped:
a_opts += ['--leave-stopped'] a_opts += ['--leave-stopped']
...@@ -909,8 +909,8 @@ class criu: ...@@ -909,8 +909,8 @@ class criu:
self.__prev_dump_iter = None self.__prev_dump_iter = None
criu_dir = os.path.dirname(os.getcwd()) criu_dir = os.path.dirname(os.getcwd())
if os.getenv("GCOV"): if os.getenv("GCOV"):
r_opts.append("--ext-mount-map") r_opts.append('--external')
r_opts.append("zdtm:%s" % criu_dir) r_opts.append('mnt[zdtm]:%s' % criu_dir)
if self.__leave_stopped: if self.__leave_stopped:
r_opts += ['--leave-stopped'] r_opts += ['--leave-stopped']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment