From ff7ebeef9d7768b46b8df88b98f708000b483827 Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Mon, 17 Feb 2025 13:31:24 +0000 Subject: [PATCH] chore: fix ansible dir ownership in tests (#6563) Change ownership of files and dirs produced by Ansible because it creates directories in the working directory that are owned by the user running ansible-lint (root in this case). --- test/run-super-linter-tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/run-super-linter-tests.sh b/test/run-super-linter-tests.sh index 22d72a1f..12fc5d5f 100755 --- a/test/run-super-linter-tests.sh +++ b/test/run-super-linter-tests.sh @@ -489,7 +489,8 @@ if [[ "${VERIFY_FIX_MODE:-}" == "true" ]]; then fi if find "${BAD_TEST_CASE_DESTINATION_PATH}" \( -type f ! -readable -or -type d \( ! -readable -or ! -executable -or ! -writable \) \) -print | grep -q .; then - if [[ "${LANGUAGE}" == "DOTNET_SLN_FORMAT_ANALYZERS" ]] || + if [[ "${LANGUAGE}" == "ANSIBLE" ]] || + [[ "${LANGUAGE}" == "DOTNET_SLN_FORMAT_ANALYZERS" ]] || [[ "${LANGUAGE}" == "DOTNET_SLN_FORMAT_STYLE" ]] || [[ "${LANGUAGE}" == "DOTNET_SLN_FORMAT_WHITESPACE" ]] || [[ "${LANGUAGE}" == "RUST_CLIPPY" ]] ||