mirror of
https://github.com/git/git.git
synced 2024-09-27 11:00:59 +02:00
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>
This commit is contained in:
parent
092d3a2bf9
commit
ef374dd9b8
@ -41,6 +41,8 @@ TEST_NO_CREATE_REPO=1
|
|||||||
# - m/m (file)
|
# - m/m (file)
|
||||||
#
|
#
|
||||||
test_expect_success 'setup repo for checkout with various types of changes' '
|
test_expect_success 'setup repo for checkout with various types of changes' '
|
||||||
|
test_config_global protocol.file.allow always &&
|
||||||
|
|
||||||
git init sub &&
|
git init sub &&
|
||||||
(
|
(
|
||||||
cd sub &&
|
cd sub &&
|
||||||
@ -140,6 +142,7 @@ do
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
test_expect_success "$mode checkout on clone" '
|
test_expect_success "$mode checkout on clone" '
|
||||||
|
test_config_global protocol.file.allow always &&
|
||||||
repo=various_${mode}_clone &&
|
repo=various_${mode}_clone &&
|
||||||
set_checkout_config $workers $threshold &&
|
set_checkout_config $workers $threshold &&
|
||||||
test_checkout_workers $expected_workers \
|
test_checkout_workers $expected_workers \
|
||||||
|
Loading…
Reference in New Issue
Block a user