containers / containers/oci-delta

tests/integration-test.sh: allow overriding OCI_DELTA to test an alternative binary

Open Beginner friendly
#76 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
21
Forks
14
Avg merge
6h 10m
Merged PRs (30d)
9

Description

tests/integration-test.sh currently hardcodes:

OCI_DELTA="$PROJECT_DIR/oci-delta"

always testing a local `make build` output. For downstream QE processes (e.g. RHEL RC baseline testing), it's useful to run this same test suite against an already-built binary instead — for example the exact RPM shipped in a distro compose — to verify that specific build rather than a fresh git build.

Suggest making this overridable, defaulting to current behavior:

OCI_DELTA="${OCI_DELTA:-$PROJECT_DIR/oci-delta}"

Contributor guide

Open the contributing guide

Research direction

Start with tests/integration-test.sh and inspect the OCI_DELTA assignment and how the integration suite invokes the binary. Verify the suite still defaults to the local make build output and also uses an externally supplied OCI_DELTA; done means both execution paths work.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, shell
Domain
testing
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
92/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.