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

Panu Matilainen notifications at github.com
Tue Nov 8 09:14:10 UTC 2022


@pmatilai commented on this pull request.



> @@ -631,3 +631,21 @@ runroot rpm -Va --nodeps --nouser --nogroup
 ],
 [])
 AT_CLEANUP
+
+AT_SETUP([test for %verify in %files])
+AT_KEYWORDS([verify])
+AT_CHECK([
+RPMDB_INIT
+
+runroot rpmbuild \
+  --quiet -bb /data/SPECS/test-parseForVerify.spec

Another uncovered case, nice spotting. The spec name doesn't really fit the general style though - we don't test particular functions, we test functionality. Just use something like verifyfiles.spec.

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

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


More information about the Rpm-maint mailing list