[Rpm-maint] [rpm-software-management/rpm] Drop the %_dbpath override from our test-container (PR #3525)

Michal Domonkos notifications at github.com
Fri Jan 17 14:24:51 UTC 2025


@dmnks commented on this pull request.



>  
 RPMTEST_CHECK([
 runroot rpm -U --nodeps --ignorearch --ignoreos --nosignature \
 	/data/RPMS/foo-1.0-1.noarch.rpm \
 	/data/RPMS/hello-2.0-1.x86_64-signed.rpm
 
-# Assert that there are at least 3 packages in the rpmdb (we are using that of
-# the test image here so that is pretty much guaranteed).
-runroot rpm -qa | wc -l | xargs test 2 -lt || exit 1
+runroot rpm -qa | wc -l | xargs test 2 -eq || exit 1

This was actually deliberately > 2 :sweat_smile:, so that we could test that filtering out the package names only shows those (and not any other). But meh...

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

Message ID: <rpm-software-management/rpm/pull/3525/review/2559150889 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250117/8e0a2769/attachment.htm>


More information about the Rpm-maint mailing list