From c9aae67c5a8d1951409497cb6b9f4049d1714452 Mon Sep 17 00:00:00 2001 From: Adam Reeve Date: Thu, 16 Oct 2025 16:19:25 +1300 Subject: [PATCH 1/2] Run source and binary RC verification in subshells --- dev/release/verify-release-candidate.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index 56c671910f0..dbdd2c4da66 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -1027,8 +1027,10 @@ TEST_SUCCESS=no setup_tempdir ensure_source_directory -test_source_distribution -test_binary_distribution +# Run source and binary tests in subshells so environment variables +# set for source testing aren't exposed to the binary tests. +(test_source_distribution) +(test_binary_distribution) TEST_SUCCESS=yes From b1461858e1c418dbe7ffe8b41085d3d4eab0de4f Mon Sep 17 00:00:00 2001 From: Adam Reeve Date: Thu, 16 Oct 2025 19:32:36 +1300 Subject: [PATCH 2/2] Only run source tests in a subshell --- dev/release/verify-release-candidate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index dbdd2c4da66..9213cdea013 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -1027,10 +1027,10 @@ TEST_SUCCESS=no setup_tempdir ensure_source_directory -# Run source and binary tests in subshells so environment variables +# Run source tests in a subshell so environment variables # set for source testing aren't exposed to the binary tests. (test_source_distribution) -(test_binary_distribution) +test_binary_distribution TEST_SUCCESS=yes