From: Junio C Hamano Date: Mon, 18 Jul 2022 20:31:55 +0000 (-0700) Subject: Merge branch 'ab/test-without-templates' X-Git-Tag: v2.38.0-rc0~152 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3d3874d537af1149c85b73d7c4317ed1b0d0b419;p=thirdparty%2Fgit.git Merge branch 'ab/test-without-templates' Tweak tests so that they still work when the "git init" template did not create .git/info directory. * ab/test-without-templates: tests: don't assume a .git/info for .git/info/sparse-checkout tests: don't assume a .git/info for .git/info/exclude tests: don't assume a .git/info for .git/info/refs tests: don't assume a .git/info for .git/info/attributes tests: don't assume a .git/info for .git/info/grafts tests: don't depend on template-created .git/branches t0008: don't rely on default ".git/info/exclude" --- 3d3874d537af1149c85b73d7c4317ed1b0d0b419 diff --cc t/t0028-working-tree-encoding.sh index 416eeabdb9,7140960e1a..c196fdb0ee --- a/t/t0028-working-tree-encoding.sh +++ b/t/t0028-working-tree-encoding.sh @@@ -5,7 -5,7 +5,8 @@@ test_description='working-tree-encodin GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME +TEST_PASSES_SANITIZE_LEAK=true + TEST_CREATE_REPO_NO_TEMPLATE=1 . ./test-lib.sh . "$TEST_DIRECTORY/lib-encoding.sh" diff --cc t/t6101-rev-parse-parents.sh index a3a41c7a3e,5f55ab98d3..d20723d627 --- a/t/t6101-rev-parse-parents.sh +++ b/t/t6101-rev-parse-parents.sh @@@ -8,7 -8,7 +8,8 @@@ test_description='Test git rev-parse wi GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME +TEST_PASSES_SANITIZE_LEAK=true + TEST_CREATE_REPO_NO_TEMPLATE=1 . ./test-lib.sh test_cmp_rev_output () {