changeset 45031:752da6863e39

test: redirect stderr so warning messages don't change output (issue6237) clone and commit race for the lock, and if commit has to wait more than a second it prints a warning to stderr. Since this is somewhat expected here, silence it. Differential Revision: https://phab.mercurial-scm.org/D8664
author Julien Cristau <jcristau@debian.org>
date Thu, 25 Jun 2020 11:22:34 +0200
parents 5797dbb630df
children a65c60f3280e
files tests/test-clone-uncompressed.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-clone-uncompressed.t	Thu Jun 25 12:02:34 2020 -0700
+++ b/tests/test-clone-uncompressed.t	Thu Jun 25 11:22:34 2020 +0200
@@ -407,7 +407,7 @@
   $ sleep 1
   $ echo >> repo/f1
   $ echo >> repo/f2
-  $ hg -R repo ci -m "1"
+  $ hg -R repo ci -m "1" 2>/dev/null
   $ wait
   $ hg -R clone id
   000000000000