On Tue, Nov 3, 2015 at 4:40 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> Sorry to bust this party, guys, but I don't think this solution is
> "good enough".  First, it won't DTRT with Windows file names that have
> backslashes (yes, they happen in Emacs).  Second, 'downcase' has a
> known gotcha of using the current buffer's case tables, which is
> something you definitely don't want here.

I take Stephen's commit as a fix for the current tests. The tests are not about comparison.

But, as I've said, I think the real fix is adding generic comparison functions to xrefs.