[Rpm-maint] [rpm-software-management/rpm] Ensure tests/setup.sh is only ever run inside the test-image (PR #3552)

Panu Matilainen notifications at github.com
Fri Jan 31 13:00:39 UTC 2025


This can do dangerous stuff, its better not to even pretend it can be run from outside the image. Add a safeguard and drop the pretense of $DESTDIR support. Makes it much nicer too.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3552

-- Commit Summary --

  * Drop the pretense of supporting $DESTDIR in test-suite setup
  * Add a safe-guard to the test-image setup script

-- File Changes --

    M tests/mktree.common (2)
    M tests/setup.sh (25)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3552.patch
https://github.com/rpm-software-management/rpm/pull/3552.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3552
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3552 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250131/e7d0844e/attachment.htm>


More information about the Rpm-maint mailing list