[CRIU] [PATCH 4/4] zdtm: make -- Don't fail if symlink already exist
Andrew Vagin
avagin at parallels.com
Thu Mar 26 01:45:05 PDT 2015
On Thu, Mar 26, 2015 at 11:23:15AM +0300, Cyrill Gorcunov wrote:
> If symlink is present the test run fails with
> "already exist" message. Lets make the link
> unconditional, this is fine.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
> test/zdtm/live/static/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/zdtm/live/static/Makefile b/test/zdtm/live/static/Makefile
> index 824da1b49088..d73d70a81e72 100644
> --- a/test/zdtm/live/static/Makefile
> +++ b/test/zdtm/live/static/Makefile
> @@ -221,7 +221,7 @@ install: all
> .PHONY: all install
>
> inotify_system_nodel.c: inotify_system.c
We can remove this code because this symlink is in the get repo.
> - ln -s inotify_system.c inotify_system_nodel.c
> + ln -sf inotify_system.c inotify_system_nodel.c
>
> $(TST_NOFILE:%=%.pid): %.pid: %
> $(<D)/$(<F) --pidfile=$@ --outfile=$<.out
> --
> 1.9.3
>
More information about the CRIU
mailing list