diff --git a/ci/test/02_run_container.sh b/ci/test/02_run_container.sh index 77c70f82bfa..eac8a0e589c 100755 --- a/ci/test/02_run_container.sh +++ b/ci/test/02_run_container.sh @@ -13,7 +13,7 @@ if [ -z "$DANGER_RUN_CI_ON_HOST" ]; then fi CI_EXEC () { - $CI_EXEC_CMD_PREFIX bash -c "export PATH=\"/path_with space:\$PATH\" && cd \"${BASE_ROOT_DIR}\" && $*" + $CI_EXEC_CMD_PREFIX "$@" } export -f CI_EXEC diff --git a/ci/test/03_test_script.sh b/ci/test/03_test_script.sh index e61dc33edc9..39e13945e25 100755 --- a/ci/test/03_test_script.sh +++ b/ci/test/03_test_script.sh @@ -8,6 +8,9 @@ export LC_ALL=C.UTF-8 set -ex +cd "${BASE_ROOT_DIR}" + +export PATH="/path_with space:${PATH}" export ASAN_OPTIONS="detect_leaks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1" export LSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/lsan" export TSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/tsan:halt_on_error=1:second_deadlock_stack=1"