tests: adapt test-check-pylint to run on Windows
The line endings are explicitly converted because this was ending up with
'\r (no-eol) (esc)' lines, in addition to the usual '\r (esc)' lines. I've seen
the fakerc output on other recently installed systems though (10.13 and/or
Fedora 26). Unfortunately, the output here uses '\\' on Windows, so glob away
the whole path.
--- a/tests/test-check-pylint.t Thu May 31 22:11:47 2018 -0400
+++ b/tests/test-check-pylint.t Thu May 31 22:15:52 2018 -0400
@@ -14,7 +14,8 @@
> --enable=W0102,C0321 \
> --reports=no \
> --ignore=thirdparty \
- > mercurial hgdemandimport hgext hgext3rd
+ > mercurial hgdemandimport hgext hgext3rd | sed 's/\r$//'
+ Using config file *fakerc (glob) (?)
(?)
------------------------------------ (?)
Your code has been rated at 10.00/10 (?)