[Rpm-maint] [rpm-software-management/rpm] Make test-suite os detection stricter (PR #2708)

Panu Matilainen notifications at github.com
Fri Oct 6 11:42:55 UTC 2023


On Rocky Linux /etc/os-release contains not only ID="rocky", but also ID_LIKE="rhel centos fedora" and the grepping got that wrong. Let the shell do the work for us.

Reported-by: Dmitry Mikushin <dmitry at kernelgen.org>
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Make test-suite os detection stricter

-- File Changes --

    M tests/CMakeLists.txt (2)

-- Patch Links --

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

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

Message ID: <rpm-software-management/rpm/pull/2708 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20231006/baf18d58/attachment-0001.html>


More information about the Rpm-maint mailing list