From 9d2d07da39f72f4e68c583321af91799cdc23e15 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Mon, 21 Apr 2025 22:30:38 -0400 Subject: [PATCH] Account for difference in `stat` output format for device nodes The new format in el10 has non-hex output, separated by a comma. Add the additional filter string so this works as expected. Signed-off-by: Auke Kok --- tests/funcs/filter.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/funcs/filter.sh b/tests/funcs/filter.sh index 441c8b60..e2ca3934 100644 --- a/tests/funcs/filter.sh +++ b/tests/funcs/filter.sh @@ -3,7 +3,8 @@ t_filter_fs() { sed -e 's@mnt/test\.[0-9]*@mnt/test@g' \ - -e 's@Device: [a-fA-F0-9]*h/[0-9]*d@Device: 0h/0d@g' + -e 's@Device: [a-fA-F0-9]*h/[0-9]*d@Device: 0h/0d@g' \ + -e 's@Device: [0-9]*,[0-9]*@Device: 0h/0d@g' } #