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>
Taylor Blau committed
Sep 30, 2022 at 16:48 UTC
067aa8fb41d09814d26f82515573b067feba87ba
1 file changed
+3
t/t2080-parallel-checkout-basics.sh
+3
@@ -41,6 +41,8 @@ TEST_NO_CREATE_REPO=1
41
# - m/m (file)
42
#
43
test_expect_success 'setup repo for checkout with various types of changes' '
44
+ test_config_global protocol.file.allow always &&
45
+
46
git init sub &&
47
(
48
cd sub &&
@@ -140,6 +142,7 @@ do
142
esac
143
144
test_expect_success "$mode checkout on clone" '
145
+ test_config_global protocol.file.allow always &&
146
repo=various_${mode}_clone &&
147
set_checkout_config $workers $threshold &&
148
test_checkout_workers $expected_workers \