t: remove TEST_PASSES_SANITIZE_LEAK annotations

Now that the default value for TEST_PASSES_SANITIZE_LEAK is `true` there
is no longer a need to have that variable declared in all of our tests.
Drop it.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Patrick Steinhardt
2024-11-20 14:39:56 +01:00
committed by Junio C Hamano
parent 1fc7ddf35b
commit fc1ddf42af
928 changed files with 0 additions and 928 deletions

View File

@ -2,7 +2,6 @@
test_description='git init' test_description='git init'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
check_config () { check_config () {

View File

@ -7,7 +7,6 @@ Verify that plumbing commands work when .git is a file
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
objpath() { objpath() {

View File

@ -2,7 +2,6 @@
test_description=gitattributes test_description=gitattributes
TEST_PASSES_SANITIZE_LEAK=true
TEST_CREATE_REPO_NO_TEMPLATE=1 TEST_CREATE_REPO_NO_TEMPLATE=1
. ./test-lib.sh . ./test-lib.sh

View File

@ -2,7 +2,6 @@
test_description='detect unwritable repository and fail correctly' test_description='detect unwritable repository and fail correctly'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success setup ' test_expect_success setup '

View File

@ -2,7 +2,6 @@
test_description='signals work as we expect' test_description='signals work as we expect'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
cat >expect <<EOF cat >expect <<EOF

View File

@ -2,7 +2,6 @@
test_description='test date parsing and printing' test_description='test date parsing and printing'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
# arbitrary reference time: 2009-08-30 19:20:00 # arbitrary reference time: 2009-08-30 19:20:00

View File

@ -2,7 +2,6 @@
test_description='basic sanity checks for git var' test_description='basic sanity checks for git var'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
sane_unset_all_editors () { sane_unset_all_editors () {

View File

@ -2,7 +2,6 @@
test_description=check-ignore test_description=check-ignore
TEST_PASSES_SANITIZE_LEAK=true
TEST_CREATE_REPO_NO_TEMPLATE=1 TEST_CREATE_REPO_NO_TEMPLATE=1
. ./test-lib.sh . ./test-lib.sh

View File

@ -2,7 +2,6 @@
test_description='racy GIT' test_description='racy GIT'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
# This test can give false success if your machine is sufficiently # This test can give false success if your machine is sufficiently

View File

@ -2,7 +2,6 @@
test_description='help' test_description='help'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
configure_help () { configure_help () {

View File

@ -2,7 +2,6 @@
test_description='test sha1 collision detection' test_description='test sha1 collision detection'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
TEST_DATA="$TEST_DIRECTORY/t0013" TEST_DATA="$TEST_DIRECTORY/t0013"

View File

@ -2,7 +2,6 @@
test_description='git command aliasing' test_description='git command aliasing'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'nested aliases - internal execution' ' test_expect_success 'nested aliases - internal execution' '

View File

@ -2,7 +2,6 @@
test_description='test test-tool env-helper' test_description='test test-tool env-helper'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh

View File

@ -5,7 +5,6 @@ test_description='Test advise_if_enabled functionality'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=trunk GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=trunk
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'advice should be printed when config variable is unset' ' test_expect_success 'advice should be printed when config variable is unset' '

View File

@ -2,7 +2,6 @@
test_description='test json-writer JSON generation' test_description='test json-writer JSON generation'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'unit test of json-writer routines' ' test_expect_success 'unit test of json-writer routines' '

View File

@ -5,7 +5,6 @@ test_description='CRLF conversion'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
has_cr() { has_cr() {

View File

@ -5,7 +5,6 @@ test_description='blob conversion via gitattributes'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-terminal.sh . "$TEST_DIRECTORY"/lib-terminal.sh

View File

@ -2,7 +2,6 @@
test_description='ignore CR in CRLF sequence while computing similiarity' test_description='ignore CR in CRLF sequence while computing similiarity'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success setup ' test_expect_success setup '

View File

@ -2,7 +2,6 @@
test_description='Test am with auto.crlf' test_description='Test am with auto.crlf'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
cat >patchfile <<\EOF cat >patchfile <<\EOF

View File

@ -2,7 +2,6 @@
test_description='respect crlf in git archive' test_description='respect crlf in git archive'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success setup ' test_expect_success setup '

View File

@ -2,7 +2,6 @@
test_description='CRLF renormalization' test_description='CRLF renormalization'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success setup ' test_expect_success setup '

View File

@ -2,7 +2,6 @@
test_description='CRLF conversion' test_description='CRLF conversion'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
has_cr() { has_cr() {

View File

@ -2,7 +2,6 @@
test_description='CRLF conversion all combinations' test_description='CRLF conversion all combinations'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
compare_files () { compare_files () {

View File

@ -5,7 +5,6 @@ test_description='working-tree-encoding conversion via gitattributes'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
TEST_CREATE_REPO_NO_TEMPLATE=1 TEST_CREATE_REPO_NO_TEMPLATE=1
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY/lib-encoding.sh" . "$TEST_DIRECTORY/lib-encoding.sh"

View File

@ -2,7 +2,6 @@
test_description='test the Windows-only core.unsetenvvars setting' test_description='test the Windows-only core.unsetenvvars setting'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
if ! test_have_prereq MINGW if ! test_have_prereq MINGW

View File

@ -5,7 +5,6 @@
test_description='git stripspace' test_description='git stripspace'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
t40='A quick brown fox jumps over the lazy do' t40='A quick brown fox jumps over the lazy do'

View File

@ -2,7 +2,6 @@
test_description='verify safe.directory checks' test_description='verify safe.directory checks'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
GIT_TEST_ASSUME_DIFFERENT_OWNER=1 GIT_TEST_ASSUME_DIFFERENT_OWNER=1

View File

@ -2,7 +2,6 @@
test_description='verify safe.bareRepository checks' test_description='verify safe.bareRepository checks'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
pwd="$(pwd)" pwd="$(pwd)"

View File

@ -5,7 +5,6 @@
test_description='our own option parser' test_description='our own option parser'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
cat >expect <<\EOF cat >expect <<\EOF

View File

@ -5,7 +5,6 @@ test_description='Test commands behavior when given invalid argument value'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'setup ' ' test_expect_success 'setup ' '

View File

@ -5,7 +5,6 @@ test_description='Various filesystem issues'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
auml=$(printf '\303\244') auml=$(printf '\303\244')

View File

@ -2,7 +2,6 @@
test_description='simple command server' test_description='simple command server'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test-tool simple-ipc SUPPORTS_SIMPLE_IPC || { test-tool simple-ipc SUPPORTS_SIMPLE_IPC || {

View File

@ -2,7 +2,6 @@
test_description='update-index and add refuse to add beyond symlinks' test_description='update-index and add refuse to add beyond symlinks'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success SYMLINKS setup ' test_expect_success SYMLINKS setup '

View File

@ -2,7 +2,6 @@
test_description='"-C <path>" option and its effects on other path-related options' test_description='"-C <path>" option and its effects on other path-related options'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success '"git -C <path>" runs git from the directory <path>' ' test_expect_success '"git -C <path>" runs git from the directory <path>' '

View File

@ -5,7 +5,6 @@
test_description='Test various path utilities' test_description='Test various path utilities'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
norm_path() { norm_path() {

View File

@ -5,7 +5,6 @@
test_description='Test run command' test_description='Test run command'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
cat >hello-script <<-EOF cat >hello-script <<-EOF

View File

@ -5,7 +5,6 @@
test_description='Test revision walking api' test_description='Test revision walking api'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
cat >run_twice_expected <<-EOF cat >run_twice_expected <<-EOF

View File

@ -5,7 +5,6 @@
test_description='Test string list functionality' test_description='Test string list functionality'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_split () { test_split () {

View File

@ -2,7 +2,6 @@
test_description='Test the dir-iterator functionality' test_description='Test the dir-iterator functionality'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'setup' ' test_expect_success 'setup' '

View File

@ -2,7 +2,6 @@
test_description='Test parse_pathspec_file()' test_description='Test parse_pathspec_file()'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'one item from stdin' ' test_expect_success 'one item from stdin' '

View File

@ -2,7 +2,6 @@
test_description='git for-each-repo builtin' test_description='git for-each-repo builtin'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'run based on configured value' ' test_expect_success 'run based on configured value' '

View File

@ -6,7 +6,6 @@ test_description='check that the most basic functions work
Verify wrappers and compatibility functions. Verify wrappers and compatibility functions.
' '
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'mktemp to nonexistent directory prints filename' ' test_expect_success 'mktemp to nonexistent directory prints filename' '

View File

@ -2,7 +2,6 @@
test_description='verify sort functions' test_description='verify sort functions'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'DEFINE_LIST_SORT_DEBUG' ' test_expect_success 'DEFINE_LIST_SORT_DEBUG' '

View File

@ -2,7 +2,6 @@
test_description='Test the output of the unit test framework' test_description='Test the output of the unit test framework'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'TAP output from unit tests' - <<\EOT test_expect_success 'TAP output from unit tests' - <<\EOT

View File

@ -2,7 +2,6 @@
test_description='test `test-tool find-pack`' test_description='test `test-tool find-pack`'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'setup' ' test_expect_success 'setup' '

View File

@ -6,7 +6,6 @@ Tests whether various commands properly update and/or rewrite the
cache-tree extension. cache-tree extension.
" "
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
cmp_cache_tree () { cmp_cache_tree () {

View File

@ -2,7 +2,6 @@
test_description='git bugreport' test_description='git bugreport'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'create a report' ' test_expect_success 'create a report' '

View File

@ -2,7 +2,6 @@
test_description='git diagnose' test_description='git diagnose'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success UNZIP 'creates diagnostics zip archive' ' test_expect_success UNZIP 'creates diagnostics zip archive' '

View File

@ -2,7 +2,6 @@
test_description='Testing the various Bloom filter computations in bloom.c' test_description='Testing the various Bloom filter computations in bloom.c'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'compute unseeded murmur3 hash for empty string' ' test_expect_success 'compute unseeded murmur3 hash for empty string' '

View File

@ -5,7 +5,6 @@ test_description='previous branch syntax @{-n}'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'branch -d @{-1}' ' test_expect_success 'branch -d @{-1}' '

View File

@ -2,7 +2,6 @@
test_description='various @{whatever} syntax tests' test_description='various @{whatever} syntax tests'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'setup' ' test_expect_success 'setup' '

View File

@ -5,7 +5,6 @@
test_description='Gettext support for Git' test_description='Gettext support for Git'
TEST_PASSES_SANITIZE_LEAK=true
. ./lib-gettext.sh . ./lib-gettext.sh
test_expect_success "sanity: \$GIT_INTERNAL_GETTEXT_SH_SCHEME is set (to $GIT_INTERNAL_GETTEXT_SH_SCHEME)" ' test_expect_success "sanity: \$GIT_INTERNAL_GETTEXT_SH_SCHEME is set (to $GIT_INTERNAL_GETTEXT_SH_SCHEME)" '

View File

@ -8,7 +8,6 @@ test_description='Gettext Shell fallbacks'
GIT_INTERNAL_GETTEXT_TEST_FALLBACKS=YesPlease GIT_INTERNAL_GETTEXT_TEST_FALLBACKS=YesPlease
export GIT_INTERNAL_GETTEXT_TEST_FALLBACKS export GIT_INTERNAL_GETTEXT_TEST_FALLBACKS
TEST_PASSES_SANITIZE_LEAK=true
. ./lib-gettext.sh . ./lib-gettext.sh
test_expect_success "sanity: \$GIT_INTERNAL_GETTEXT_SH_SCHEME is set (to $GIT_INTERNAL_GETTEXT_SH_SCHEME)" ' test_expect_success "sanity: \$GIT_INTERNAL_GETTEXT_SH_SCHEME is set (to $GIT_INTERNAL_GETTEXT_SH_SCHEME)" '

View File

@ -5,7 +5,6 @@
test_description='Perl gettext interface (Git::I18N)' test_description='Perl gettext interface (Git::I18N)'
TEST_PASSES_SANITIZE_LEAK=true
. ./lib-gettext.sh . ./lib-gettext.sh
. "$TEST_DIRECTORY"/lib-perl.sh . "$TEST_DIRECTORY"/lib-perl.sh
skip_all_if_no_Test_More skip_all_if_no_Test_More

View File

@ -5,7 +5,6 @@
test_description="The Git C functions aren't broken by setlocale(3)" test_description="The Git C functions aren't broken by setlocale(3)"
TEST_PASSES_SANITIZE_LEAK=true
. ./lib-gettext.sh . ./lib-gettext.sh
test_expect_success 'git show a ISO-8859-1 commit under C locale' ' test_expect_success 'git show a ISO-8859-1 commit under C locale' '

View File

@ -5,7 +5,6 @@
test_description="Gettext reencoding of our *.po/*.mo files works" test_description="Gettext reencoding of our *.po/*.mo files works"
TEST_PASSES_SANITIZE_LEAK=true
. ./lib-gettext.sh . ./lib-gettext.sh
# The constants used in a tricky observation for undefined behaviour # The constants used in a tricky observation for undefined behaviour

View File

@ -2,7 +2,6 @@
test_description='test trace2 facility (normal target)' test_description='test trace2 facility (normal target)'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
# Turn off any inherited trace2 settings for this test. # Turn off any inherited trace2 settings for this test.

View File

@ -2,7 +2,6 @@
test_description='test trace2 facility (perf target)' test_description='test trace2 facility (perf target)'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
# Turn off any inherited trace2 settings for this test. # Turn off any inherited trace2 settings for this test.

View File

@ -2,7 +2,6 @@
test_description='test trace2 facility' test_description='test trace2 facility'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
# Turn off any inherited trace2 settings for this test. # Turn off any inherited trace2 settings for this test.

View File

@ -2,7 +2,6 @@
test_description='basic credential helper tests' test_description='basic credential helper tests'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-credential.sh . "$TEST_DIRECTORY"/lib-credential.sh

View File

@ -2,7 +2,6 @@
test_description='credential-cache tests' test_description='credential-cache tests'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-credential.sh . "$TEST_DIRECTORY"/lib-credential.sh

View File

@ -2,7 +2,6 @@
test_description='credential-store tests' test_description='credential-store tests'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-credential.sh . "$TEST_DIRECTORY"/lib-credential.sh

View File

@ -29,7 +29,6 @@ you can set GIT_TEST_CREDENTIAL_HELPER_SETUP to a sequence of shell
commands. commands.
' '
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-credential.sh . "$TEST_DIRECTORY"/lib-credential.sh

View File

@ -2,7 +2,6 @@
test_description='partial clone' test_description='partial clone'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-terminal.sh . "$TEST_DIRECTORY"/lib-terminal.sh

View File

@ -2,7 +2,6 @@
test_description='check that local clone does not fetch from promisor remotes' test_description='check that local clone does not fetch from promisor remotes'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'create evil repo' ' test_expect_success 'create evil repo' '

View File

@ -5,7 +5,6 @@ test_description='assert (unbuilt) Documentation/*.txt and -h output
Run this with --debug to see a summary of where we still fail to make Run this with --debug to see a summary of where we still fail to make
the two versions consistent with one another.' the two versions consistent with one another.'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'setup: list of builtins' ' test_expect_success 'setup: list of builtins' '

View File

@ -2,7 +2,6 @@
test_description='progress display' test_description='progress display'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
show_cr () { show_cr () {

View File

@ -7,7 +7,6 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
GIT_TEST_DEFAULT_REF_FORMAT=files GIT_TEST_DEFAULT_REF_FORMAT=files
export GIT_TEST_DEFAULT_REF_FORMAT export GIT_TEST_DEFAULT_REF_FORMAT
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'setup' ' test_expect_success 'setup' '

View File

@ -15,7 +15,6 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
GIT_TEST_DEFAULT_REF_FORMAT=files GIT_TEST_DEFAULT_REF_FORMAT=files
export GIT_TEST_DEFAULT_REF_FORMAT export GIT_TEST_DEFAULT_REF_FORMAT
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'enable reflogs' ' test_expect_success 'enable reflogs' '

View File

@ -6,7 +6,6 @@ GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
GIT_TEST_DEFAULT_REF_FORMAT=files GIT_TEST_DEFAULT_REF_FORMAT=files
export GIT_TEST_DEFAULT_REF_FORMAT export GIT_TEST_DEFAULT_REF_FORMAT
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh

View File

@ -10,7 +10,6 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
GIT_TEST_DEFAULT_REF_FORMAT=reftable GIT_TEST_DEFAULT_REF_FORMAT=reftable
export GIT_TEST_DEFAULT_REF_FORMAT export GIT_TEST_DEFAULT_REF_FORMAT
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
INVALID_OID=$(test_oid 001) INVALID_OID=$(test_oid 001)

View File

@ -2,7 +2,6 @@
test_description='reftable HTTPD tests' test_description='reftable HTTPD tests'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-httpd.sh . "$TEST_DIRECTORY"/lib-httpd.sh

View File

@ -11,7 +11,6 @@ export GIT_TEST_DEFAULT_REF_FORMAT
GIT_TEST_SPLIT_INDEX=0 GIT_TEST_SPLIT_INDEX=0
export GIT_TEST_SPLIT_INDEX export GIT_TEST_SPLIT_INDEX
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
if ! test_have_prereq JGIT if ! test_have_prereq JGIT

View File

@ -16,7 +16,6 @@ export GIT_TEST_DEFAULT_HASH
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'default write options' ' test_expect_success 'default write options' '

View File

@ -72,7 +72,6 @@ In addition:
' '
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-read-tree.sh . "$TEST_DIRECTORY"/lib-read-tree.sh
. "$TEST_DIRECTORY"/lib-read-tree-m-3way.sh . "$TEST_DIRECTORY"/lib-read-tree-m-3way.sh

View File

@ -21,7 +21,6 @@ In the test, these paths are used:
yomin - not in H or M yomin - not in H or M
' '
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-read-tree.sh . "$TEST_DIRECTORY"/lib-read-tree.sh

View File

@ -9,7 +9,6 @@ This is identical to t1001, but uses -u to update the work tree as well.
' '
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-read-tree.sh . "$TEST_DIRECTORY"/lib-read-tree.sh

View File

@ -6,7 +6,6 @@
test_description='git read-tree --prefix test. test_description='git read-tree --prefix test.
' '
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success setup ' test_expect_success setup '

View File

@ -5,7 +5,6 @@ test_description='read-tree -m -u checks working tree files'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-read-tree.sh . "$TEST_DIRECTORY"/lib-read-tree.sh

View File

@ -2,7 +2,6 @@
test_description='read-tree -u --reset' test_description='read-tree -u --reset'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-read-tree.sh . "$TEST_DIRECTORY"/lib-read-tree.sh

View File

@ -2,7 +2,6 @@
test_description='git cat-file' test_description='git cat-file'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_cmdmode_usage () { test_cmdmode_usage () {

View File

@ -2,7 +2,6 @@
test_description="git hash-object" test_description="git hash-object"
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
echo_without_newline() { echo_without_newline() {

View File

@ -5,7 +5,6 @@ test_description='test multi-tree read-tree without merging'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-read-tree.sh . "$TEST_DIRECTORY"/lib-read-tree.sh

View File

@ -5,7 +5,6 @@ test_description='test read-tree into a fresh index file'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success setup ' test_expect_success setup '

View File

@ -2,7 +2,6 @@
test_description='git mktree' test_description='git mktree'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success setup ' test_expect_success setup '

View File

@ -12,7 +12,6 @@ test_description='sparse checkout tests
' '
TEST_CREATE_REPO_NO_TEMPLATE=1 TEST_CREATE_REPO_NO_TEMPLATE=1
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-read-tree.sh . "$TEST_DIRECTORY"/lib-read-tree.sh

View File

@ -2,7 +2,6 @@
test_description='read-tree D/F conflict corner cases' test_description='read-tree D/F conflict corner cases'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-read-tree.sh . "$TEST_DIRECTORY"/lib-read-tree.sh

View File

@ -2,7 +2,6 @@
test_description='read-tree can handle submodules' test_description='read-tree can handle submodules'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-submodule-update.sh . "$TEST_DIRECTORY"/lib-submodule-update.sh

View File

@ -2,7 +2,6 @@
test_description='check that read-tree rejects confusing paths' test_description='check that read-tree rejects confusing paths'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'create base tree' ' test_expect_success 'create base tree' '

View File

@ -2,7 +2,6 @@
test_description='Test various callers of read_index_unmerged' test_description='Test various callers of read_index_unmerged'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'setup modify/delete + directory/file conflict' ' test_expect_success 'setup modify/delete + directory/file conflict' '

View File

@ -5,7 +5,6 @@
test_description='Test how well compatObjectFormat works' test_description='Test how well compatObjectFormat works'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-gpg.sh . "$TEST_DIRECTORY"/lib-gpg.sh

View File

@ -6,7 +6,6 @@
test_description='Try various core-level commands in subdirectory. test_description='Try various core-level commands in subdirectory.
' '
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/lib-read-tree.sh . "$TEST_DIRECTORY"/lib-read-tree.sh

View File

@ -4,7 +4,6 @@ test_description='rerere run in a workdir'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success SYMLINKS setup ' test_expect_success SYMLINKS setup '

View File

@ -3,7 +3,6 @@
test_description='git read-tree in partial clones' test_description='git read-tree in partial clones'
TEST_NO_CREATE_REPO=1 TEST_NO_CREATE_REPO=1
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'read-tree in partial clone prefetches in one batch' ' test_expect_success 'read-tree in partial clone prefetches in one batch' '

View File

@ -3,7 +3,6 @@
test_description='adding and checking out large blobs' test_description='adding and checking out large blobs'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'core.bigFileThreshold must be non-negative' ' test_expect_success 'core.bigFileThreshold must be non-negative' '

View File

@ -2,7 +2,6 @@
test_description='test conversion filters on large files' test_description='test conversion filters on large files'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
set_attr() { set_attr() {

View File

@ -2,7 +2,6 @@
test_description='see how we handle various forms of corruption' test_description='see how we handle various forms of corruption'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
# convert "1234abcd" to ".git/objects/12/34abcd" # convert "1234abcd" to ".git/objects/12/34abcd"

View File

@ -6,7 +6,6 @@ GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
TEST_CREATE_REPO_NO_TEMPLATE=1 TEST_CREATE_REPO_NO_TEMPLATE=1
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'setup' ' test_expect_success 'setup' '

View File

@ -8,7 +8,6 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
GIT_TEST_SPLIT_INDEX=false GIT_TEST_SPLIT_INDEX=false
export GIT_TEST_SPLIT_INDEX export GIT_TEST_SPLIT_INDEX
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
list_files() { list_files() {

View File

@ -5,7 +5,6 @@ test_description='compare full workdir to sparse workdir'
GIT_TEST_SPLIT_INDEX=0 GIT_TEST_SPLIT_INDEX=0
GIT_TEST_SPARSE_INDEX= GIT_TEST_SPARSE_INDEX=
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
test_expect_success 'setup' ' test_expect_success 'setup' '

Some files were not shown because too many files have changed in this diff Show More