@pmatilai 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

I meant: use the existing deptest.spec to create the test-material you need. 
This can (and should) go into the existing obsoletes test group (see 
https://github.com/rpm-software-management/rpm/blob/db1c9da7fe507b7eb0424bf9c76b6cf37094ed36/tests/rpmi.at#L988),
 and because there's already test-material being built, you only need to build 
one additional package for this test.

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

Message ID: <rpm-software-management/rpm/pull/2254/review/1175347...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to