# HG changeset patch # User Matt Harbison # Date 2018-06-01 02:15:52 # Node ID 6ae62d62c3f6ad321256f3f41ca279be2c33d03c # Parent 6fb76897e066a455563f1a6c6a10826e2a23d6a3 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. diff --git a/tests/test-check-pylint.t b/tests/test-check-pylint.t --- a/tests/test-check-pylint.t +++ b/tests/test-check-pylint.t @@ -14,7 +14,8 @@ Current checks: > --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 (?)