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

TESTS: drop explicit quotes from empty command line arguments #15822

Closed

Conversation

levitte
Copy link
Member

@levitte levitte commented Jun 18, 2021

Depending on circumstances, something like this:

ok(run(app(['openssl', 'whatever', '-config', '""', ...])))

might end up with a command like this:

./util/wrap.pl apps/openssl whatever -config '""'

Simply use an empty string (i.e. '' instead of '""') and let the
command line fixup functions do their job.

@levitte levitte added branch: master Merge to master branch approval: review pending This pull request needs review by a committer labels Jun 18, 2021
@levitte levitte added this to the 3.0.0 milestone Jun 18, 2021
@levitte
Copy link
Member Author

levitte commented Jun 18, 2021

It is possible that this depends on #15791...

Depending on circumstances, something like this:

    ok(run(app(['openssl', 'whatever', '-config', '""', ...])))

might end up with a command like this:

    ./util/wrap.pl apps/openssl whatever -config '""'

Simply use an empty string (i.e. '' instead of '""') and let the
command line fixup functions do their job.
@levitte levitte force-pushed the fix-tests-empty-command-line-arguments branch from aa6f0c1 to c8651ed Compare June 18, 2021 07:11
@levitte
Copy link
Member Author

levitte commented Jun 18, 2021

The force-pushes were rebasings on top of fresher master

@t8m t8m added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Jun 18, 2021
@openssl-machine openssl-machine added approval: ready to merge The 24 hour grace period has passed, ready to merge and removed approval: done This pull request has the required number of approvals labels Jun 19, 2021
@openssl-machine
Copy link
Collaborator

This pull request is ready to merge

@paulidale
Copy link
Contributor

Merged.

@paulidale paulidale closed this Jun 20, 2021
openssl-machine pushed a commit that referenced this pull request Jun 20, 2021
Depending on circumstances, something like this:

    ok(run(app(['openssl', 'whatever', '-config', '""', ...])))

might end up with a command like this:

    ./util/wrap.pl apps/openssl whatever -config '""'

Simply use an empty string (i.e. '' instead of '""') and let the
command line fixup functions do their job.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #15822)
@levitte levitte deleted the fix-tests-empty-command-line-arguments branch June 20, 2021 17:58
devnexen pushed a commit to devnexen/openssl that referenced this pull request Jul 7, 2021
Depending on circumstances, something like this:

    ok(run(app(['openssl', 'whatever', '-config', '""', ...])))

might end up with a command like this:

    ./util/wrap.pl apps/openssl whatever -config '""'

Simply use an empty string (i.e. '' instead of '""') and let the
command line fixup functions do their job.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from openssl#15822)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Merge to master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants