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

Nobody has claimed this yet.

Assessment

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

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.

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}"
Dominant language
Go
Stars
21
Forks
14
Avg merge
6h 10m
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containers/oci-delta

All issues in containers/oci-delta

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.