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 tagsmaint
commit
c5887af55d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue