mirror of
https://github.com/versity/scoutfs.git
synced 2026-04-24 07:20:29 +00:00
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 <zab@versity.com>
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user