diff options
Diffstat (limited to 't/t5611-clone-config.sh')
-rwxr-xr-x | t/t5611-clone-config.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/t/t5611-clone-config.sh b/t/t5611-clone-config.sh index 4b3877216e..298d4befab 100755 --- a/t/t5611-clone-config.sh +++ b/t/t5611-clone-config.sh @@ -4,6 +4,7 @@ test_description='tests for git clone -c key=value' GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh test_expect_success 'clone -c sets config in cloned repo' ' @@ -102,7 +103,7 @@ test_expect_success 'set up shallow repository' ' test_expect_success 'clone.rejectshallow=true should reject cloning shallow repo' ' test_when_finished "rm -rf out" && test_must_fail git -c clone.rejectshallow=true clone --no-local shallow-repo out 2>err && - test_i18ngrep -e "source repository is shallow, reject to clone." err && + test_grep -e "source repository is shallow, reject to clone." err && git -c clone.rejectshallow=false clone --no-local shallow-repo out ' @@ -110,7 +111,7 @@ test_expect_success 'clone.rejectshallow=true should reject cloning shallow repo test_expect_success 'option --[no-]reject-shallow override clone.rejectshallow config' ' test_when_finished "rm -rf out" && test_must_fail git -c clone.rejectshallow=false clone --reject-shallow --no-local shallow-repo out 2>err && - test_i18ngrep -e "source repository is shallow, reject to clone." err && + test_grep -e "source repository is shallow, reject to clone." err && git -c clone.rejectshallow=true clone --no-reject-shallow --no-local shallow-repo out ' |