Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

fix(scripts): remove bash 4.0 dependency in coverage script #4561

Merged
merged 1 commit into from
Feb 28, 2022
Merged

fix(scripts): remove bash 4.0 dependency in coverage script #4561

merged 1 commit into from
Feb 28, 2022

Conversation

nojnhuh
Copy link
Contributor

@nojnhuh nojnhuh commented Feb 28, 2022

Description:
readarray is a bash builtin introduced in 4.0. This change removes
its use so make go-test-coverage can be run on Macs which only ship
with bash 3.2 preinstalled.

Fixes #2152

Testing done:

  • Tested locally on my Mac with bash 3.2

Affected area:

Functional Area
New Functionality [ ]
CI System [ ]
CLI Tool [ ]
Certificate Management [ ]
Control Plane [ ]
Demo [ ]
Documentation [ ]
Egress [ ]
Ingress [ ]
Install [ ]
Networking [ ]
Observability [ ]
Performance [ ]
SMI Policy [ ]
Security [ ]
Sidecar Injection [ ]
Tests [ ]
Upgrade [ ]
Other [X]

Please answer the following questions with yes/no.

  1. Does this change contain code from or inspired by another project? No

    • Did you notify the maintainers and provide attribution?
  2. Is this a breaking change? No

  3. Has documentation corresponding to this change been updated in the osm-docs repo (if applicable)? N/A

`readarray` is a bash builtin introduced in 4.0. This change removes
its use so `make go-test-coverage` can be run on Macs which only ship
with bash 3.2 preinstalled.

Fixes #2152

Signed-off-by: Jon Huhn <[email protected]>
@nojnhuh nojnhuh merged commit f83b8a7 into openservicemesh:main Feb 28, 2022
@nojnhuh nojnhuh deleted the test-cover branch February 28, 2022 17:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

install readarray dependency being used in scripts/test-w-coverage.sh
4 participants