extfs: rpm: add test for a custom package.
[midnight-commander.git] / tests / src / vfs / extfs / helpers-list / data / rpm.README
blob78c55bca7c9132e84f36a88d1beb00aa21e0eb42
2 The *.input files for the tests are what we call "tags files". They are
3 generated by rpm2tags.
5 The tests:
7 - rpm.glib.input:
9   Generated from glib2-2.46.2-4.el7.i686.rpm (downloadable from
10   rpmfind.net).
12 - rpm.custom.input:
14   Generated from our own custom package (see test.spec in this
15   distribution). The advantage of this custom package is that it lets us
16   test the helper with almost all the tags it's supposed to support.
20 The way we test this helper is a bit unconventional:
22 We aren't overriding one or two variables in the helper but, instead,
23 inject a code snippet into it (see 'rpm.rewrite.sh'). This lets us
24 override a couple of functions to imitate the 'rpm' binary.