From dcd750a64f7cd744ea753bc1663ef21383e33f4e Mon Sep 17 00:00:00 2001 From: Andrew Vagin Date: Tue, 15 Dec 2015 14:01:00 +0300 Subject: [PATCH] zdtm.py: bind-mount a test root as slave In this case it has an external master_id and we want to test that criu can handle it correctly. Signed-off-by: Andrew Vagin Signed-off-by: Pavel Emelyanov --- test/zdtm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/zdtm.py b/test/zdtm.py index 019b49bfd..c2d3ebcec 100755 --- a/test/zdtm.py +++ b/test/zdtm.py @@ -174,7 +174,7 @@ class ns_flavor: self.__mknod("rtc") def init(self, l_bins, x_bins): - subprocess.check_call(["mount", "--make-private", "--bind", ".", self.root]) + subprocess.check_call(["mount", "--make-slave", "--bind", ".", self.root]) self.root_mounted = True if not os.access(self.root + "/.constructed", os.F_OK):