Skip to content

Commit 63ee933

Browse files
pks-tgitster
authored andcommitted
t98xx: mark Perforce tests as memory-leak free
All the Perforce tests are free of memory leaks. This went unnoticed because most folks do not have p4 and p4d installed on their computers. Consequently, given that the prerequisites for running those tests aren't fulfilled, `TEST_PASSES_SANITIZE_LEAK=check` won't notice that those tests are indeed memory leak free. Mark those tests accordingly. Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d707d23 commit 63ee933

35 files changed

+35
-0
lines changed

t/t9800-git-p4-basic.sh

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

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

1011
test_expect_success 'start p4d' '

t/t9801-git-p4-branch.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ test_description='git p4 tests for p4 branches'
55
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
66
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
77

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

1011
test_expect_success 'start p4d' '

t/t9802-git-p4-filetype.sh

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

33
test_description='git p4 filetype tests'
44

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

78
test_expect_success 'start p4d' '

t/t9803-git-p4-shell-metachars.sh

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

33
test_description='git p4 transparency to shell metachars in filenames'
44

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

78
test_expect_success 'start p4d' '

t/t9804-git-p4-label.sh

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

33
test_description='git p4 label tests'
44

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

78
test_expect_success 'start p4d' '

t/t9805-git-p4-skip-submit-edit.sh

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

33
test_description='git p4 skipSubmitEdit config variables'
44

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

78
test_expect_success 'start p4d' '

t/t9806-git-p4-options.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ test_description='git p4 options'
55
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
66
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
77

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

1011
test_expect_success 'start p4d' '

t/t9808-git-p4-chdir.sh

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

33
test_description='git p4 relative chdir'
44

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

78
test_expect_success 'start p4d' '

t/t9809-git-p4-client-view.sh

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

33
test_description='git p4 client view'
44

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

78
test_expect_success 'start p4d' '

t/t9810-git-p4-rcs.sh

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

33
test_description='git p4 rcs keywords'
44

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

78
CP1252="\223\224"

0 commit comments

Comments
 (0)