From 616fb64c54283fe3462ceb31f9f4cd52243881c9 Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Tue, 15 Sep 2026 09:30:52 +0200 Subject: [PATCH] fix: use sh to exec a script in container Test-bot: skip --- _common/tests.inc.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/_common/tests.inc.sh b/_common/tests.inc.sh index 482af55..207ad0b 100644 --- a/_common/tests.inc.sh +++ b/_common/tests.inc.sh @@ -93,18 +93,17 @@ function do_test_print_link_report() { # function do_test_print_container_error_logs() { local CONTAINER="$1" - docker exec "${CONTAINER}" $TEST_CONTAINER_ROOT_PATH/_common/tests.container.sh report + docker exec "${CONTAINER}" sh $TEST_CONTAINER_ROOT_PATH/_common/tests.container.sh report } - function do_test_links_setup() { local CONTAINER="$1" - docker exec "${CONTAINER}" $TEST_CONTAINER_ROOT_PATH/_common/tests.container.sh setup + docker exec "${CONTAINER}" sh $TEST_CONTAINER_ROOT_PATH/_common/tests.container.sh setup docker kill "${CONTAINER}" --signal="USR1" } function do_test_links_cleanup() { local CONTAINER="$1" - docker exec "${CONTAINER}" $TEST_CONTAINER_ROOT_PATH/_common/tests.container.sh cleanup + docker exec "${CONTAINER}" sh $TEST_CONTAINER_ROOT_PATH/_common/tests.container.sh cleanup docker kill "${CONTAINER}" --signal="USR1" } \ No newline at end of file