This is an archive of the discontinued Mercurial Phabricator instance.

test-basic: make test compatible with chg
ClosedPublic

Authored by singhsrb on Oct 3 2017, 3:10 PM.

Details

Summary

The error codes returned when writing to /dev/full are different after
the first failure with and without '--chg' option. Therefore, this commit
conditionally handles the error codes as appropriate.

Test Plan

Ran the test 'test-basic.t' with and without '--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, 3:10 PM
quark accepted this revision.Oct 3 2017, 8:11 PM
This revision was automatically updated to reflect the committed changes.