[CRIU] [PATCH 4/4] zdtm: make -- Don't fail if symlink already exist

Cyrill Gorcunov gorcunov at openvz.org
Thu Mar 26 01:23:15 PDT 2015


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
-	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