diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-08-23 10:52:41 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-08-23 10:52:41 +0200 |
commit | 4fd4686b785a8c96ac99a0c5ebfc41625bca85a7 (patch) | |
tree | 751269a774ba873dbb7cc8ca5bcf4d39b730702f | |
parent | 7aed571ade9150c80868445ca9b3910cece2dc74 (diff) | |
download | justbuild-4fd4686b785a8c96ac99a0c5ebfc41625bca85a7.tar.gz |
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.
-rw-r--r-- | test/end-to-end/just-mr/gc-repo.sh | 4 |
1 files 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 |