From abc6958dafeb7ce38fb1bbcf83d323c63785049c Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Tue, 2 Jul 2024 09:40:45 +0000 Subject: [PATCH] Fix lit filtering I forgot to add the 'g' modifier to sed. Before only the first occurence of a '.' was replaced in a path and not every dot. --- check.spec.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/check.spec.inc b/check.spec.inc index 7d5b935..a1e789c 100644 --- a/check.spec.inc +++ b/check.spec.inc @@ -195,11 +195,10 @@ filter_out_tests=$(printf "|%s" "${filter_out_tests[@]}") # Remove the initial pipe symbol filter_out_tests=${filter_out_tests:1} # Properly escape path dots (".") for use in regular expression -filter_out_tests=$(echo $filter_out_tests | sed 's/\./\\./') +filter_out_tests=$(echo $filter_out_tests | sed 's/\./\\./g') # Add enclosing parenthesis export LIT_FILTER_OUT="($filter_out_tests)" - export LIT_OPTS="-vv" export LD_LIBRARY_PATH="%{buildroot}/%{install_libdir}:%{buildroot}/%{_libdir}";