-
Notifications
You must be signed in to change notification settings - Fork 365
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
Conversation
tests/reftests/run.ml
Outdated
*) | ||
seq [ | ||
opt @@ char '"'; | ||
repn @@ seq [ char '/'; repn @@ diff any (alt [ space; char '/']) ]; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
*) | ||
seq [ | ||
opt @@ char '"'; | ||
repn @@ seq [ char '/'; repn @@ diff any (alt [ space; char '/']) ]; |
There was a problem hiding this comment.
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
abbdc5c
to
c066e38
Compare
Now it handles sandbox prefix, and command prefixes that are not a print of a subprocess (in an error message for ex).
c066e38
to
1f89515
Compare
Thanks! |
Now it handles sandbox prefix, and command prefixes that are not a print of a subprocess (in an error message for ex).