This is an archive of the discontinued Mercurial Phabricator instance.

test-setdiscovery: make test compatible with chg
ClosedPublic

Authored by singhsrb on Oct 3 2017, 4:32 PM.

Details

Summary

The test checks the output of the blackbox extension which will
contain logs corresponding to chg in case chg is running. Therefore, this
commit modifies the test to take chg into consideration while working with the
blackbox extension.

Test Plan

Ran the test 'test-setdiscovery.t' with and without the '--chg'
option.

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

singhsrb created this revision.Oct 3 2017, 4:32 PM
quark updated this revision to Diff 2393.Oct 3 2017, 8:05 PM
quark accepted this revision.Oct 3 2017, 8:06 PM
quark added a subscriber: quark.

I have changed the code to a simpler fix.

singhsrb added inline comments.Oct 3 2017, 8:07 PM
tests/test-setdiscovery.t
406

That's pretty neat. D925 is similar too.

This revision was automatically updated to reflect the committed changes.