From 0f723cfd1b69c734b9dc53264fef0c92f520f37b Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Wed, 7 Dec 2022 09:50:37 +0100 Subject: [PATCH] test.cases.ProcMounts: Add ":" to device name regex Devices may be called ubi0:rescue0 or so. Signed-off-by: Jan Lindemann --- src/python/devtest/os/test/cases/ProcMounts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/devtest/os/test/cases/ProcMounts.py b/src/python/devtest/os/test/cases/ProcMounts.py index 3b0c65f..d8cebd6 100644 --- a/src/python/devtest/os/test/cases/ProcMounts.py +++ b/src/python/devtest/os/test/cases/ProcMounts.py @@ -10,7 +10,7 @@ class MountList(ListCmd): # export #r"/bin/cat /proc/mounts | sed 's/,*size=[0-9]\+[a-z]*//g; s/,*nr_inodes=[0-9]\+//g; s/,,*/,/g'", r"/bin/cat /proc/mounts", # proc /proc proc rw,relatime 0 0 - "^ *([a-zA-Z0-9/]+) (/[a-zA-Z0-9/]+) +(\S+) +(\S+) +([0-9]+) +([0-9]+)", + "^ *([a-zA-Z0-9/:]+) (/[a-zA-Z0-9/]+) +(\S+) +(\S+) +([0-9]+) +([0-9]+)", [ 'dev', 'mp', 'type','opts','dump', 'fsck'], [ 'dev', 'mp', 'type','opts' ], [ 'mp', ]