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
--- 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