[Rpm-maint] [rpm-software-management/rpm] Add some tests (PR #2254)

xujing notifications at github.com
Tue Nov 15 11:11:04 UTC 2022


@JetXujing commented on this pull request.



> @@ -1371,3 +1371,21 @@ runroot rpm -q --whatprovides /
 ],
 [])
 AT_CLEANUP
+
+AT_SETUP([rpm -U with Obsoletes])
+AT_KEYWORDS([install])
+AT_CHECK([
+RPMDB_INIT
+
+runroot rpmbuild -bb --quiet /data/SPECS/test-obsoletes.spec
+runroot rpm -i --nodeps --ignorearch /data/RPMS/hello-1.0-1.i386.rpm
+runroot rpm -U /build/RPMS/noarch/test-obsoletes-1.0-1.noarch.rpm

Oh, I understand what you mean, and it's now been revised.

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

Message ID: <rpm-software-management/rpm/pull/2254/review/1180679402 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221115/5614b111/attachment.html>


More information about the Rpm-maint mailing list