Page MenuHomePhabricator

[native] Clean up `build_openssl.sh` using ShellCheck
ClosedPublic

Authored by abosh on Aug 2 2022, 9:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 25, 12:55 AM
Unknown Object (File)
Sun, Sep 1, 11:56 PM
Unknown Object (File)
Aug 8 2024, 5:32 PM
Unknown Object (File)
Aug 8 2024, 5:32 PM
Unknown Object (File)
Aug 8 2024, 5:31 PM
Unknown Object (File)
Aug 8 2024, 5:29 PM
Unknown Object (File)
Aug 6 2024, 10:58 AM
Unknown Object (File)
Jul 19 2024, 5:16 AM
Subscribers

Details

Summary

Related Linear issue here. This is part of a set of diffs that will allow ShellCheck to be added to the CI. See inline comments for specific details of the ShellCheck error/warning output.

Test Plan

ShellCheck.

Additionally, build_openssl.sh is run during the Android build so if that workflow continues to pass CI we can reasonably assume that the script continues to work as expected.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Outside of running shellcheck, we should ensure that the script continues to work as expected and specify how we can check that in the Test Plan.

eg something like:

build_openssl.sh is run during the Android build so if that workflow continues to pass CI we can reasonably assume that the script continues to work as expected

This revision is now accepted and ready to land.Aug 2 2022, 10:35 AM
In D4716#135609, @atul wrote:

Outside of running shellcheck, we should ensure that the script continues to work as expected and specify how we can check that in the Test Plan.

eg something like:

build_openssl.sh is run during the Android build so if that workflow continues to pass CI we can reasonably assume that the script continues to work as expected

Great point. I'll start doing that from now on/will modify prior diffs. I think because this diff only added double quotes I got lazy and wasn't thorough in the Test Plan.