[CRIU] [PATCH v4 7/7] zdtm.py: also check that mount flags are restored correct

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Thu Dec 13 12:02:56 MSK 2018


Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
 test/zdtm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm.py b/test/zdtm.py
index f3fc8c10e..8c160a9df 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -1359,7 +1359,7 @@ do_sbs = False
 
 		cmounts = []
 		try:
-			r = re.compile(r"^\S+\s\S+\s\S+\s(\S+)\s(\S+)\s\S+\s[^-]*?(shared)?[^-]*?(master)?[^-]*?-")
+			r = re.compile(r"^\S+\s\S+\s\S+\s(\S+)\s(\S+)\s(\S+)\s[^-]*?(shared)?[^-]*?(master)?[^-]*?-")
 			with open("/proc/%s/root/proc/%s/mountinfo" % (test.getpid(), pid)) as mountinfo:
 				for m in mountinfo:
 					cmounts.append(r.match(m).groups())
-- 
2.17.1



More information about the CRIU mailing list