diff -r 46ab0c6b28dc -r 7f366dd3df1f tests/test-remotefilelog-gc.t --- a/tests/test-remotefilelog-gc.t Wed Jan 30 19:29:32 2019 -0500 +++ b/tests/test-remotefilelog-gc.t Wed Jan 30 17:22:07 2019 -0800 @@ -107,6 +107,6 @@ # Test that warning is displayed when the repo path is malformed $ printf "asdas\0das" >> $CACHEDIR/repos - $ hg gc 2>&1 | head -n2 - warning: malformed path: * (glob) - Traceback (most recent call last): + $ hg gc + abort: invalid path asdas\x00da: stat() argument 1 must be encoded string without null bytes, not str (esc) + [255]