( )⚙ D3721 run-tests: restrict the test cases allowed characters

This is an archive of the discontinued Mercurial Phabricator instance.

run-tests: restrict the test cases allowed characters
ClosedPublic

Authored by lothiraldan on Jun 12 2018, 5:05 PM.

Details

Summary

Most test cases in core and in extension only use A-Za-z0-9- but a few tests
in extensions also have a . in their test cases names. Also add a _ to
allow all kind of case naming format.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

lothiraldan created this revision.Jun 12 2018, 5:05 PM
mharbison72 accepted this revision.Jun 12 2018, 7:54 PM
mharbison72 added a subscriber: mharbison72.

The second hunk in run-test.py doesn't apply for me (it looks like adding b to a string has landed, but wasn't applied near the first hunk). But manually applying it, Windows is happy again. Thanks.

durin42 accepted this revision.Jun 12 2018, 10:13 PM
This revision is now accepted and ready to land.Jun 12 2018, 10:13 PM
This revision was automatically updated to reflect the committed changes.