summaryrefslogtreecommitdiffstats
path: root/tests/src/vfs/extfs/helpers-list/data/rpm.README
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:22:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:22:03 +0000
commitffccd5b2b05243e7976db80f90f453dccfae9886 (patch)
tree39a43152d27f7390d8f7a6fb276fa6887f87c6e8 /tests/src/vfs/extfs/helpers-list/data/rpm.README
parentInitial commit. (diff)
downloadmc-upstream/3%4.8.30.tar.xz
mc-upstream/3%4.8.30.zip
Adding upstream version 3:4.8.30.upstream/3%4.8.30
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/src/vfs/extfs/helpers-list/data/rpm.README')
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/rpm.README24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.README b/tests/src/vfs/extfs/helpers-list/data/rpm.README
new file mode 100644
index 0000000..78c55bc
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/rpm.README
@@ -0,0 +1,24 @@
+
+The *.input files for the tests are what we call "tags files". They are
+generated by rpm2tags.
+
+The tests:
+
+- rpm.glib.input:
+
+ Generated from glib2-2.46.2-4.el7.i686.rpm (downloadable from
+ rpmfind.net).
+
+- rpm.custom.input:
+
+ Generated from our own custom package (see test.spec in this
+ distribution). The advantage of this custom package is that it lets us
+ test the helper with almost all the tags it's supposed to support.
+
+--
+
+The way we test this helper is a bit unconventional:
+
+We aren't overriding one or two variables in the helper but, instead,
+inject a code snippet into it (see 'rpm.rewrite.sh'). This lets us
+override a couple of functions to imitate the 'rpm' binary.