]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t2080: prepare for changing protocol.file.allow
authorTaylor Blau <me@ttaylorr.com>
Fri, 30 Sep 2022 20:48:56 +0000 (16:48 -0400)
committerTaylor Blau <me@ttaylorr.com>
Sat, 1 Oct 2022 04:27:18 +0000 (00:27 -0400)
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>
t/t2080-parallel-checkout-basics.sh

index 3e0f8c675f7bf8602bbfe0562e2a92b90a7dc925..393ba3545e71c46babe9e95b6e597b2282ab5636 100755 (executable)
@@ -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 \