diff tests/run-tests.py @ 35391:0432e54f4dbe

run-tests: stop automatically adding a (glob) for bundle backup lines This is the first step to dropping the existing globs for '\' matches, now that it is handled automatically. Instead of just dropping it, this pattern is now used to convert to '/' paths, to reduce the amount of manual cleanup required when creating tests on Windows.
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 10 Dec 2017 19:21:48 -0500
parents dfae14354660
children 24528dba0e64
line wrap: on
line diff
--- a/tests/run-tests.py	Thu Dec 07 17:18:29 2017 +0800
+++ b/tests/run-tests.py	Sun Dec 10 19:21:48 2017 -0500
@@ -973,7 +973,7 @@
             self._portmap(1),
             self._portmap(2),
             (br'(?m)^(saved backup bundle to .*\.hg)( \(glob\))?$',
-             br'\1 (glob)'),
+             br'\1'.replace(br'\\', br'/')),
             (br'([^0-9])%s' % re.escape(self._localip()), br'\1$LOCALIP'),
             (br'\bHG_TXNID=TXN:[a-f0-9]{40}\b', br'HG_TXNID=TXN:$ID$'),
             ]