[CRIU] [PATCH] zdtm: Unlink link_remap files once dump complete

Cyrill Gorcunov gorcunov at openvz.org
Wed Feb 6 08:14:12 EST 2013


In case if only "dump" procedure is invoked we left service
"link_remap.%d" file(s) on disk. This prevents next "dump"
procedure of same test to fail because we hit the situation
where same named "link_remap.%d" already exist.

So, if test is passed with "-d" option we remove the link remap
file at the end.

Also with this patch we start passing --link-remap option
only for tests which have "unlink_" prefix in name. This applies
some limitation on how test could be named, thus maybe we need
more flexible solution here.

https://bugzilla.openvz.org/show_bug.cgi?id=2489

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 test/zdtm.sh | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-zdtm-Unlink-link_remap-files-once-dump-complete.patch
Type: text/x-patch
Size: 1225 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130206/e350e5a8/attachment.bin>


More information about the CRIU mailing list