[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:39:27 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

Thanks, it's funny that *that* was easier than writing a whole comment line with an excuse :laughing: 

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

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


More information about the Rpm-maint mailing list