Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reftest: update commands prefix replacement #5657

Merged
merged 1 commit into from Sep 11, 2023

Conversation

rjbou
Copy link
Collaborator

@rjbou rjbou commented Sep 8, 2023

Now it handles sandbox prefix, and command prefixes that are not a print of a subprocess (in an error message for ex).

@rjbou rjbou added the AREA:TEST label Sep 8, 2023
*)
seq [
opt @@ char '"';
repn @@ seq [ char '/'; repn @@ diff any (alt [ space; char '/']) ];
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It relies on no space on command full path

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should probably exclude " and ' as well

tests/reftests/run.ml Outdated Show resolved Hide resolved
tests/reftests/run.ml Outdated Show resolved Hide resolved
tests/reftests/run.ml Outdated Show resolved Hide resolved
*)
seq [
opt @@ char '"';
repn @@ seq [ char '/'; repn @@ diff any (alt [ space; char '/']) ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should probably exclude " and ' as well

@rjbou rjbou mentioned this pull request Sep 8, 2023
2 tasks
@kit-ty-kate kit-ty-kate added this to For RC in Opam 2.2.0 Sep 11, 2023
@rjbou rjbou moved this from For RC to For alpha3 in Opam 2.2.0 Sep 11, 2023
@rjbou rjbou added this to the 2.2.0~alpha3 milestone Sep 11, 2023
Now it handles sandbox prefix, and command prefixes that are not a print
of a subprocess (in an error message for ex).
@kit-ty-kate
Copy link
Member

Thanks!

@kit-ty-kate kit-ty-kate merged commit 57d312e into ocaml:master Sep 11, 2023
27 checks passed
Opam 2.2.0 automation moved this from For alpha3 to Done Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Opam 2.2.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants