( )⚙ D8664 test: redirect stderr so warning messages don't cause changed output (issue6237)

This is an archive of the discontinued Mercurial Phabricator instance.

test: redirect stderr so warning messages don't cause changed output (issue6237)
ClosedPublic

Authored by jcristau on Jun 25 2020, 5:23 AM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jcristau created this revision.Jun 25 2020, 5:23 AM
pulkit accepted this revision.Jun 25 2020, 10:48 AM
This revision is now accepted and ready to land.Jun 25 2020, 10:48 AM

Reworded the first line of commit message to test: redirect stderr so warning messages don't change output (issue6237) to make test-check-commit.t which was complaining that summary line too long.