From 45a68f8e304c4cf38edb07b5df02d69d939a93d4 Mon Sep 17 00:00:00 2001 From: Denis Pryazhennikov Date: Tue, 25 Nov 2025 14:17:40 +0300 Subject: [PATCH] scripts: fix configuration parsing usage The value of IFS changes to parse the test configuration. To avoid unexpected behavior in bash scripts, limit IFS modifications only to the places where they are explicitly required. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andrew Rybchenko --- scripts/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/run.sh b/scripts/run.sh index 932a0aa..27d3c6d 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -252,7 +252,8 @@ for opt ; do done if test -n "${CFG}" ; then - IFS=: ; process_cfg ${CFG} ; IFS= + IFS=':' read -r -a cfg_parts <<< "${CFG}" + process_cfg "${cfg_parts[@]}" fi ##########################################################################