tests: add Python 3 output for test-remotefilelog-gc.t
authorGregory Szorc <gregory.szorc@gmail.com>
Wed, 30 Jan 2019 17:07:58 -0800
changeset 41485 8f6f5dcd46ce
parent 41484 7f366dd3df1f
child 41486 f9150901267c
tests: add Python 3 output for test-remotefilelog-gc.t Python 3 raises a slightly different error on invalid paths. Differential Revision: https://phab.mercurial-scm.org/D5773
tests/test-remotefilelog-gc.t
--- a/tests/test-remotefilelog-gc.t	Wed Jan 30 17:22:07 2019 -0800
+++ b/tests/test-remotefilelog-gc.t	Wed Jan 30 17:07:58 2019 -0800
@@ -108,5 +108,6 @@
 
   $ printf "asdas\0das" >> $CACHEDIR/repos
   $ hg gc
-  abort: invalid path asdas\x00da: stat() argument 1 must be encoded string without null bytes, not str (esc)
+  abort: invalid path asdas\x00da: stat: embedded null character in path (esc) (py3 !)
+  abort: invalid path asdas\x00da: stat() argument 1 must be encoded string without null bytes, not str (esc) (no-py3 !)
   [255]