From 124e390333a5d2d8362289dc27778b9ec4006eb5 Mon Sep 17 00:00:00 2001 From: Jeremi Piotrowski Date: Tue, 18 Jul 2023 11:27:32 +0200 Subject: [PATCH] tests: common: Fix quoting when globbing When the glob star is inside quotes, there is only one iteration of the loop and b holds all matches at once. Move the glob out of the quotes so that we actually iterate over matched paths. Fixes: #6543 Signed-off-by: Jeremi Piotrowski --- tests/common.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common.bash b/tests/common.bash index 53c471bac..64474d0fb 100644 --- a/tests/common.bash +++ b/tests/common.bash @@ -299,7 +299,7 @@ function install_kata() { popd # create symbolic links to kata components - for b in "${katadir}/bin/*" ; do + for b in "${katadir}"/bin/* ; do sudo ln -sf "${b}" "${local_bin_dir}/$(basename $b)" done