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

bug: Fixing bash error #4624

Merged
merged 2 commits into from
Jun 25, 2024
Merged

bug: Fixing bash error #4624

merged 2 commits into from
Jun 25, 2024

Conversation

maddeleine
Copy link
Contributor

@maddeleine maddeleine commented Jun 24, 2024

Resolved issues:

N/A

Description of changes:

Fixes ./runFuzzTest.sh: line 206: [: missing ]'` error you get from running the fuzz tests. Apparently if you use a logical 'and' in a bash script it needs to be in double brackets.

See: https://stackoverflow.com/questions/35281797/missing-in-bash-script

Call-outs:

Testing:

I didn't test this by running the script, but if you try this out in a bash script you can see that using the && operator without double brackets gives you get this error.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Jun 24, 2024
@maddeleine maddeleine requested review from dougch and lrstewart June 24, 2024 20:38
@maddeleine maddeleine enabled auto-merge (squash) June 25, 2024 00:24
@maddeleine maddeleine merged commit 073c7b4 into main Jun 25, 2024
37 checks passed
@maddeleine maddeleine deleted the bash_script_fix branch June 25, 2024 02:10
rod-chapman pushed a commit to rod-chapman/s2n-tls that referenced this pull request Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants