diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-02-06 14:31:21 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-02-06 14:31:21 -0800 |
commit | c5887af55db647be1cfe9989e9539a8f0ff07f1b (patch) | |
tree | b071cbe44a3e247104dc80dedea1e92bd4f44d57 | |
parent | 1f9d2745fab473fda916642e535e7922cda421ca (diff) | |
parent | 3cb4384683ea128e6720b961e41aaf82c45cf1fe (diff) | |
download | git-c5887af55db647be1cfe9989e9539a8f0ff07f1b.tar.gz |
Merge branch 'jc/t0091-with-unknown-git'
The test did not work when Git was built from a repository without
tags.
* jc/t0091-with-unknown-git:
t0091: allow test in a repository without tags
-rwxr-xr-x | t/t0091-bugreport.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0091-bugreport.sh b/t/t0091-bugreport.sh index 8798feefe3..fca39048fe 100755 --- a/t/t0091-bugreport.sh +++ b/t/t0091-bugreport.sh @@ -39,9 +39,9 @@ test_expect_success 'sanity check "System Info" section' ' sed -ne "/^\[System Info\]$/,/^$/p" <git-bugreport-format.txt >system && - # The beginning should match "git version --build-info" verbatim, + # The beginning should match "git version --build-options" verbatim, # but rather than checking bit-for-bit equality, just test some basics. - grep "git version [0-9]." system && + grep "git version " system && grep "shell-path: ." system && # After the version, there should be some more info. |