diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-03-25 16:16:33 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-03-25 16:16:33 -0700 |
| commit | 199074f8932f85abac3b40d8e79c63d9e8f94ca0 (patch) | |
| tree | a05f4e863732d7a2d2fd9f7d7f29f3dd9eea3b47 /t | |
| parent | The tenth batch (diff) | |
| parent | checkout: plug some leaks in git-restore (diff) | |
| download | git-199074f8932f85abac3b40d8e79c63d9e8f94ca0.tar.gz git-199074f8932f85abac3b40d8e79c63d9e8f94ca0.zip | |
Merge branch 'rj/restore-plug-leaks'
Leaks from "git restore" have been plugged.
* rj/restore-plug-leaks:
checkout: plug some leaks in git-restore
Diffstat (limited to 't')
| -rwxr-xr-x | t/t2070-restore.sh | 1 | ||||
| -rwxr-xr-x | t/t2071-restore-patch.sh | 1 | ||||
| -rwxr-xr-x | t/t2072-restore-pathspec-file.sh | 1 | ||||
| -rwxr-xr-x | t/t6418-merge-text-auto.sh | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/t/t2070-restore.sh b/t/t2070-restore.sh index 16d6348b69..ac404945d4 100755 --- a/t/t2070-restore.sh +++ b/t/t2070-restore.sh @@ -5,6 +5,7 @@ test_description='restore basic functionality' 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 'setup' ' diff --git a/t/t2071-restore-patch.sh b/t/t2071-restore-patch.sh index 27e85be40a..42d5522119 100755 --- a/t/t2071-restore-patch.sh +++ b/t/t2071-restore-patch.sh @@ -2,6 +2,7 @@ test_description='git restore --patch' +TEST_PASSES_SANITIZE_LEAK=true . ./lib-patch-mode.sh test_expect_success 'setup' ' diff --git a/t/t2072-restore-pathspec-file.sh b/t/t2072-restore-pathspec-file.sh index 8198a1e578..86c9c88788 100755 --- a/t/t2072-restore-pathspec-file.sh +++ b/t/t2072-restore-pathspec-file.sh @@ -2,6 +2,7 @@ test_description='restore --pathspec-from-file' +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh test_tick diff --git a/t/t6418-merge-text-auto.sh b/t/t6418-merge-text-auto.sh index 41288a60ce..48a62cb855 100755 --- a/t/t6418-merge-text-auto.sh +++ b/t/t6418-merge-text-auto.sh @@ -15,6 +15,7 @@ test_description='CRLF merge conflict across text=auto change GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh test_have_prereq SED_STRIPS_CR && SED_OPTIONS=-b |
