( )⚙ D11449 tests: make removeemptydirs more portable

This is an archive of the discontinued Mercurial Phabricator instance.

tests: make removeemptydirs more portable
ClosedPublic

Authored by marmoute on Sep 17 2021, 10:05 AM.

Details

Summary

The behavior of pwd change from one system (i.e. default shell/sh) from one
system to another so we use fuzzy matching for the output we do not care and we
use narrower command call to highlight what we are trying to test here.

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

marmoute created this revision.Sep 17 2021, 10:05 AM

If someone on centos can test this, it would be great.

If someone on centos can test this, it would be great.

Runs fine for me on CentOS 7.9.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.