changeset 38180:6ae62d62c3f6 stable

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.
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 31 May 2018 22:15:52 -0400
parents 6fb76897e066
children 712d6f535fc9
files tests/test-check-pylint.t
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 (?)