From 7421bd1861c8cec0cafff83863ef2ff0485af196 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Thu, 11 Feb 2021 10:06:43 -0800 Subject: [PATCH] Filter all test device digits to 0 We mask device numbers in command output to 0:0 so that we can have consistent golden test output. The device number matching regex responsible for this missed a few digits. It didn't show up until we both tested enough mounts to get larger device minor numbers and fixed multi-mount consistency so that the affected tests didn't fail for other reasons. Signed-off-by: Zach Brown --- tests/funcs/filter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/funcs/filter.sh b/tests/funcs/filter.sh index 1429fec8..8226adad 100644 --- a/tests/funcs/filter.sh +++ b/tests/funcs/filter.sh @@ -3,7 +3,7 @@ t_filter_fs() { sed -e 's@mnt/test\.[0-9]*@mnt/test@g' \ - -e 's@Device: [a-fA-F0-7]*h/[0-9]*d@Device: 0h/0d@g' + -e 's@Device: [a-fA-F0-9]*h/[0-9]*d@Device: 0h/0d@g' } #