fix test failure with git version 2.34.0
authorJoey Hess <joeyh@joeyh.name>
Mon, 22 Nov 2021 17:28:20 +0000 (13:28 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 22 Nov 2021 17:30:03 +0000 (13:30 -0400)
commitc49787824c219db8d6c31c712a2bdbd71e26e758
treee14593f5c49e24ae8a781366002970ca931a68a7
parente2da89ba496aebf908cdd19b728b601afaa767c2
fix test failure with git version 2.34.0

The new "ort" resolver uses different filenames than what the test suite
accepted when resolving a conflict between a directory an an annexed
file. Make the test looser in what it accepts, so it will work with old
and new git.

Other tests still look for "conflictor.variant" as a prefix,
because when eg resolving a conflicted merge of 2 annexed files,
the filename is not changed by the ort resolver, and I didn't want to
unncessarily loosen the test.

Also I'm not entirely happy with the filenames used by the ort resolver,
see comment.

There's still another test failure caused by that resolver that is not
fixed yet.
Test.hs
doc/bugs/git_2.34__58___some_conflict_resolution_unit_tests_fail/comment_2_980556f1f7b339519593f9ead85ab854._comment [new file with mode: 0644]