Skip to content

Commit 1a36776

Browse files
committed
Merge branch 'ps/leakfixes-base'
* ps/leakfixes-base: t: mark a bunch of tests as leak-free ci: add missing dependency for TTY prereq
2 parents 2a1a882 + fba95da commit 1a36776

12 files changed

+15
-2
lines changed

ci/install-dependencies.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ alpine-*)
2727
apk add --update shadow sudo build-base curl-dev openssl-dev expat-dev gettext \
2828
pcre2-dev python3 musl-libintl perl-utils ncurses \
2929
apache2 apache2-http2 apache2-proxy apache2-ssl apache2-webdav apr-util-dbd_sqlite3 \
30-
bash cvs gnupg perl-cgi perl-dbd-sqlite >/dev/null
30+
bash cvs gnupg perl-cgi perl-dbd-sqlite perl-io-tty >/dev/null
3131
;;
3232
fedora-*)
3333
dnf -yq update >/dev/null &&
@@ -42,7 +42,7 @@ ubuntu-*)
4242
language-pack-is libsvn-perl apache2 cvs cvsps git gnupg subversion \
4343
make libssl-dev libcurl4-openssl-dev libexpat-dev wget sudo default-jre \
4444
tcl tk gettext zlib1g-dev perl-modules liberror-perl libauthen-sasl-perl \
45-
libemail-valid-perl libio-socket-ssl-perl libnet-smtp-ssl-perl libdbd-sqlite3-perl libcgi-pm-perl \
45+
libemail-valid-perl libio-pty-perl libio-socket-ssl-perl libnet-smtp-ssl-perl libdbd-sqlite3-perl libcgi-pm-perl \
4646
${CC_PACKAGE:-${CC:-gcc}} $PYTHON_PACKAGE
4747

4848
mkdir --parents "$CUSTOM_PATH"

t/t0411-clone-from-partial.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
test_description='check that local clone does not fetch from promisor remotes'
44

5+
TEST_PASSES_SANITIZE_LEAK=true
56
. ./test-lib.sh
67

78
test_expect_success 'create evil repo' '

t/t0610-reftable-basics.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
1010
GIT_TEST_DEFAULT_REF_FORMAT=reftable
1111
export GIT_TEST_DEFAULT_REF_FORMAT
1212

13+
TEST_PASSES_SANITIZE_LEAK=true
1314
. ./test-lib.sh
1415

1516
INVALID_OID=$(test_oid 001)

t/t2405-worktree-submodule.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ test_description='Combination of submodules and multiple worktrees'
55
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
66
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
77

8+
TEST_PASSES_SANITIZE_LEAK=true
89
. ./test-lib.sh
910

1011
base_path=$(pwd -P)

t/t7423-submodule-symlinks.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
test_description='check that submodule operations do not follow symlinks'
44

5+
TEST_PASSES_SANITIZE_LEAK=true
56
. ./test-lib.sh
67

78
test_expect_success 'prepare' '

t/t9200-git-cvsexportcommit.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#
55
test_description='Test export of commits to CVS'
66

7+
TEST_PASSES_SANITIZE_LEAK=true
78
. ./test-lib.sh
89

910
if ! test_have_prereq PERL; then

t/t9401-git-cvsserver-crlf.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ repository using cvs CLI client via git-cvsserver server'
1212
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
1313
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
1414

15+
TEST_PASSES_SANITIZE_LEAK=true
1516
. ./test-lib.sh
1617

1718
marked_as () {

t/t9600-cvsimport.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ test_description='git cvsimport basic tests'
44
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
55
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
66

7+
TEST_PASSES_SANITIZE_LEAK=true
78
. ./lib-cvs.sh
89

910
if ! test_have_prereq NOT_ROOT; then

t/t9601-cvsimport-vendor-branch.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ test_description='git cvsimport handling of vendor branches'
3535
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
3636
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
3737

38+
TEST_PASSES_SANITIZE_LEAK=true
3839
. ./lib-cvs.sh
3940

4041
setup_cvs_test_repository t9601

t/t9602-cvsimport-branches-tags.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ test_description='git cvsimport handling of branches and tags'
77
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
88
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
99

10+
TEST_PASSES_SANITIZE_LEAK=true
1011
. ./lib-cvs.sh
1112

1213
setup_cvs_test_repository t9602

0 commit comments

Comments
 (0)