From 4fd4686b785a8c96ac99a0c5ebfc41625bca85a7 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 23 Aug 2024 10:52:41 +0200 Subject: test gc-repo: forward PATH in launcher ... so that we can run with whatever ambient path is present rather than relying on standard paths pulled in by env. --- test/end-to-end/just-mr/gc-repo.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/end-to-end/just-mr/gc-repo.sh b/test/end-to-end/just-mr/gc-repo.sh index 96f7ce14..1023eeb5 100644 --- a/test/end-to-end/just-mr/gc-repo.sh +++ b/test/end-to-end/just-mr/gc-repo.sh @@ -161,7 +161,7 @@ cat repos.json # Set up repos. This should get everything in the local build root. "${JUST_MR}" --local-build-root "${LBR}" --git "${BIN}/mock-git" \ - --distdir "${DISTDIR}" \ + --distdir "${DISTDIR}" -L '["env", "PATH='"${PATH}"'"]' \ setup > "${OUT}/conf-file-name" 2> "${LOG}/log-1" cat "${LOG}/log-1" echo @@ -208,7 +208,7 @@ rm -f "${BIN}/mock-foreign-vcs" [ -e "${GIT_TREE_LOCATION}" ] && exit 1 || : # Setup repos again -"${JUST_MR}" --local-build-root "${LBR}" \ +"${JUST_MR}" --local-build-root "${LBR}" -L '["env", "PATH='"${PATH}"'"]' \ setup > "${OUT}/conf-file-name" 2> "${LOG}/log-2" cat "${LOG}/log-2" echo -- cgit v1.2.3