Skip to content

Commit c4cf8ca

Browse files
me-andgitster
authored andcommitted
t/t1517: mark tests that fail with GIT_TEST_INSTALLED
The changes added by 39fc408 (t/t1517: automate `git subcmd -h` tests outside a repository, 2025-08-08) to automatically loop over all "main" Git commands will, when run against an installed build using GIT_TEST_INSTALLED rather than the build in the build directory, include some extra git-gui commands that are installed by `make install`, or credential helpers that might be installed manually from the contrib directories. These fail the test, so record them as such. Signed-off-by: Adam Dinwoodie <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 529a60a commit c4cf8ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

t/t1517-outside-repo.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,11 @@ for cmd in $(git --list-cmds=main)
111111
do
112112
cmd=${cmd%.*} # strip .sh, .perl, etc.
113113
case "$cmd" in
114-
archimport | cvsexportcommit | cvsimport | cvsserver | daemon | \
114+
archimport | citool | credential-netrc | credential-libsecret | \
115+
credential-osxkeychain | cvsexportcommit | cvsimport | cvsserver | \
116+
daemon | \
115117
difftool--helper | filter-branch | fsck-objects | get-tar-commit-id | \
118+
gui | gui--askpass | \
116119
http-backend | http-fetch | http-push | init-db | \
117120
merge-octopus | merge-one-file | merge-resolve | mergetool | \
118121
mktag | p4 | p4.py | pickaxe | remote-ftp | remote-ftps | \

0 commit comments

Comments
 (0)