summaryrefslogtreecommitdiff
path: root/t/t2080-parallel-checkout-basics.sh
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-09-30 16:48:56 -0400
committerTaylor Blau <me@ttaylorr.com>2022-10-01 00:30:45 -0400
commitef374dd9b8eecaf84458677865732b89948c19be (patch)
tree062e0770cd6c538cc19d0b121d7fc61b86363696 /t/t2080-parallel-checkout-basics.sh
parent092d3a2bf97abd6153313686bb2580e6421a1d34 (diff)
downloadgit-ef374dd9b8eecaf84458677865732b89948c19be.tar.gz
t2080: prepare for changing protocol.file.allow
Explicitly cloning over the "file://" protocol in t1092 in preparation for merging a security release which will change the default value of this configuration to be "user". Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 't/t2080-parallel-checkout-basics.sh')
-rwxr-xr-xt/t2080-parallel-checkout-basics.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t2080-parallel-checkout-basics.sh b/t/t2080-parallel-checkout-basics.sh
index 3e0f8c675f..393ba3545e 100755
--- a/t/t2080-parallel-checkout-basics.sh
+++ b/t/t2080-parallel-checkout-basics.sh
@@ -41,6 +41,8 @@ TEST_NO_CREATE_REPO=1
# - m/m (file)
#
test_expect_success 'setup repo for checkout with various types of changes' '
+ test_config_global protocol.file.allow always &&
+
git init sub &&
(
cd sub &&
@@ -140,6 +142,7 @@ do
esac
test_expect_success "$mode checkout on clone" '
+ test_config_global protocol.file.allow always &&
repo=various_${mode}_clone &&
set_checkout_config $workers $threshold &&
test_checkout_workers $expected_workers \