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

Submitted by Pavel Tikhomirov on Dec. 13, 2018, 9:02 a.m.

Details

Message ID 20181213090256.15492-8-ptikhomirov@virtuozzo.com
State Accepted
Series "support restoring ghost files on readonly mounts"
Headers show

Commit Message

Pavel Tikhomirov Dec. 13, 2018, 9:02 a.m.
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
---
 test/zdtm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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