diff options
Diffstat (limited to 't/t5611-clone-config.sh')
| -rwxr-xr-x | t/t5611-clone-config.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/t/t5611-clone-config.sh b/t/t5611-clone-config.sh index 727caff443..4873089a8c 100755 --- a/t/t5611-clone-config.sh +++ b/t/t5611-clone-config.sh @@ -4,7 +4,6 @@ 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' ' @@ -103,7 +102,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 ' @@ -111,7 +110,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 ' |
