Skip to content

T2030 use test path helpers - #2482

Open
CodeWithHusain wants to merge 2 commits into
git:masterfrom
CodeWithHusain:t2030-use-test-path-helpers
Open

CodeWithHusain wants to merge 2 commits into
git:masterfrom
CodeWithHusain:t2030-use-test-path-helpers

Conversation

@CodeWithHusain

Copy link
Copy Markdown

No description provided.

gitster and others added 2 commits November 7, 2026 13:39
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Hussain Sitamouwala <husainsitamuwala21@gmail.com>
Replace bare file-existence checks with test_path_is_file and test_path_is_missing. Unlike a bare 'test', these helpers identify paths that are missing or unexpectedly present when a check fails.

test_path_is_missing also rejects directories and symlinks, which is appropriate because these paths are expected to be regular files or absent.

Signed-off-by: Hussain Sitamouwala <husainsitamuwala21@gmail.com>
@gitgitgadget-git

Copy link
Copy Markdown

There is an issue in commit 53d4912:
t2030: use test_path_is_* helpers

  • Lines in the body of the commit messages should be wrapped between 60 and 76 characters.
    Indented lines, and lines without whitespace, are exempt

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants