Skip to content

test: adds system tests for performing tardiff operations using the cli tools on test tar files#78

Draft
rmiki-dev wants to merge 1 commit intocontainers:mainfrom
rmiki-dev:system-tests
Draft

test: adds system tests for performing tardiff operations using the cli tools on test tar files#78
rmiki-dev wants to merge 1 commit intocontainers:mainfrom
rmiki-dev:system-tests

Conversation

@rmiki-dev
Copy link
Copy Markdown
Collaborator

New test scripts for multi-old, source-prefix, errors, delta paths and fuzzy matching are added to tests directory, for end-to-end integration testing.

A utils.sh file is also added with reusable helper functions to avoid duplicate code across scripts.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request expands the integration test suite for tar-diff and tar-patch by adding scripts for delta paths, fuzzy renames, multi-layer archives, source prefixes, and CLI error handling. It also refactors shared test logic into a new tests/utils.sh file and updates the Makefile to include these tests and improve the clean target. Feedback focuses on improving shell script robustness in the utility file by using local variables, quoting paths, and ensuring POSIX compliance with a trailing newline.

Comment thread tests/utils.sh
Comment thread tests/utils.sh
Comment thread tests/utils.sh
Comment thread tests/utils.sh
Comment thread tests/utils.sh
@rmiki-dev rmiki-dev marked this pull request as draft April 13, 2026 20:32
…li tools on test tar files

Signed-off-by: Rosy-Glorious Miki <rmiki@redhat.com>
@rmiki-dev rmiki-dev linked an issue Apr 15, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create system test for tar files

1 participant