]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t/t1517: mark tests that fail with GIT_TEST_INSTALLED
authorAdam Dinwoodie <adam@dinwoodie.org>
Tue, 19 Aug 2025 07:43:29 +0000 (08:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Aug 2025 15:37:46 +0000 (08:37 -0700)
The changes added by 39fc408562 (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 <adam@dinwoodie.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1517-outside-repo.sh

index 3dc602872a00379ef24aee550ee1491c7cb8ed38..5f3b9f400d994cb2e5dbba024f3b5f8c402b4245 100755 (executable)
@@ -111,8 +111,11 @@ for cmd in $(git --list-cmds=main)
 do
        cmd=${cmd%.*} # strip .sh, .perl, etc.
        case "$cmd" in
-       archimport | cvsexportcommit | cvsimport | cvsserver | daemon | \
+       archimport | citool | credential-netrc | credential-libsecret | \
+       credential-osxkeychain | cvsexportcommit | cvsimport | cvsserver | \
+       daemon | \
        difftool--helper | filter-branch | fsck-objects | get-tar-commit-id | \
+       gui | gui--askpass | \
        http-backend | http-fetch | http-push | init-db | \
        merge-octopus | merge-one-file | merge-resolve | mergetool | \
        mktag | p4 | p4.py | pickaxe | remote-ftp | remote-ftps | \