changeset 38327:62376d7b8859

py3: glob out some error messages in test-fileset.t Python3 provides more detailed messages, which is fine.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 16 Jun 2018 17:04:03 +0900
parents 8783f128048e
children aa9dd805234d
files contrib/python3-whitelist tests/test-fileset.t
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/python3-whitelist	Sat Jun 16 17:00:05 2018 +0900
+++ b/contrib/python3-whitelist	Sat Jun 16 17:04:03 2018 +0900
@@ -159,6 +159,7 @@
 test-filecache.py
 test-filelog.py
 test-fileset-generated.t
+test-fileset.t
 test-fix-topology.t
 test-flags.t
 test-generaldelta.t
--- a/tests/test-fileset.t	Sat Jun 16 17:00:05 2018 +0900
+++ b/tests/test-fileset.t	Sat Jun 16 17:04:03 2018 +0900
@@ -68,7 +68,7 @@
   a2
   $ fileset 'a_b'
   $ fileset '"\xy"'
-  hg: parse error: invalid \x escape
+  hg: parse error: invalid \x escape* (glob)
   [255]
 
 Test invalid syntax
@@ -196,7 +196,7 @@
   c1
   b1
   $ fileset 'grep("missingparens(")'
-  hg: parse error: invalid match pattern: unbalanced parenthesis
+  hg: parse error: invalid match pattern: (unbalanced parenthesis|missing \)).* (re)
   [255]
 
 #if execbit