py3: glob out some error messages in test-fileset.t
authorYuya Nishihara <yuya@tcha.org>
Sat, 16 Jun 2018 17:04:03 +0900
changeset 38327 62376d7b8859
parent 38326 8783f128048e
child 38328 aa9dd805234d
py3: glob out some error messages in test-fileset.t Python3 provides more detailed messages, which is fine.
contrib/python3-whitelist
tests/test-fileset.t
--- 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