Skip to content

Differentially test linear-time regexp support for migrated shells#2457

Closed
ericcornelissen wants to merge 10 commits intomainfrom
differential-lregexp-testing
Closed

Differentially test linear-time regexp support for migrated shells#2457
ericcornelissen wants to merge 10 commits intomainfrom
differential-lregexp-testing

Conversation

@ericcornelissen
Copy link
Copy Markdown
Owner

@ericcornelissen ericcornelissen commented Apr 4, 2026

Relates to #2122, #2129, #2304, #2325, #2358, #2383, cc1076d

@ericcornelissen ericcornelissen added the test Relates to testing label Apr 4, 2026
@github-actions github-actions bot added the dependencies Changes to the project's dependencies label Apr 4, 2026
Create a unit test that differentially tests the change in CMD escaping
from "normal" regular expression to linear-time-based regular
expressions (in [1]). To do this properly, the `shescape-previous`
version is downgraded to the version prior to this migration.

[1]: 0f38a42
@ericcornelissen ericcornelissen force-pushed the differential-lregexp-testing branch from 27df91b to 19cb3d1 Compare April 4, 2026 11:15
@ericcornelissen ericcornelissen changed the title Differentially test linear-time regexp support for CMD Differentially test linear-time regexp support for migrated shells Apr 4, 2026
Create a unit test that differentially tests the change in Bash escaping
from "normal" regular expression to linear-time-based regular
expressions (in [1]). The `bash.patch` file accounts for a later bug fix
(see [2]). The extra `replace` in this suite accounts for *extra*
(unnecessary) escaping in the new logic.

[1]: 4f72b2a
[2]: 6add105
@github-actions github-actions bot added the ci/cd Relates to ci/cd label Apr 4, 2026
Create a unit test that differentially tests the change for no-shell
escaping from "normal" regular expression to linear-time-based regular
expressions (in [1]). To do this properly, the `shescape-previous`
version is downgraded to the version prior to this migration.

[1]: 178160e
Create a unit test that differentially tests the change in BusyBox
escaping from "normal" regular expression to linear-time-based regular
expressions (in [1]). The (updates to the) `2410.patch` file accounts
for a later bug fix (see [2]).

[1]: e582b3e
[2]: 6add105
@ericcornelissen ericcornelissen force-pushed the differential-lregexp-testing branch from e285ced to 972ec23 Compare April 4, 2026 16:10
Create a unit test that differentially tests the change in Csh escaping
from "normal" regular expression to linear-time-based regular
expressions (in [1]). The extra `replace` in this suite accounts for
*extra* (unnecessary) escaping in the new logic.

[1]: 5f822a6
@ericcornelissen

This comment has been minimized.

chatgpt-codex-connector[bot]

This comment was marked as resolved.

ericcornelissen added a commit that referenced this pull request Apr 4, 2026
@ericcornelissen
Copy link
Copy Markdown
Owner Author

This Pull Request was created purely to perform the differential (regression) testing. Hence, I'll close this soon now that each shell's escaping behavior has been confirmed.

I just want to try and have the changes of #2446 covered by these tests as well.

@ericcornelissen ericcornelissen deleted the differential-lregexp-testing branch April 4, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd Relates to ci/cd dependencies Changes to the project's dependencies test Relates to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant