summaryrefslogtreecommitdiffstats
path: root/tests/src/vfs/extfs/helpers-list/data/rpm.custom.input
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/vfs/extfs/helpers-list/data/rpm.custom.input')
-rw-r--r--tests/src/vfs/extfs/helpers-list/data/rpm.custom.input261
1 files changed, 261 insertions, 0 deletions
diff --git a/tests/src/vfs/extfs/helpers-list/data/rpm.custom.input b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.input
new file mode 100644
index 0000000..e8cc464
--- /dev/null
+++ b/tests/src/vfs/extfs/helpers-list/data/rpm.custom.input
@@ -0,0 +1,261 @@
+# -*- mode: perl -*-
+# vim: filetype=perl
+#
+# This "tags file" was created by running the following command:
+#
+# $ perl rpm2tags.pl ~/rpmbuild/RPMS/noarch/test-2.3-4.noarch.rpm
+#
+# This file is used in our tests instead of the corresponding RPM file.
+# This lets us run the tests on systems where 'rpm' is not installed.
+
+$tags = {
+ 'PROVIDEVERSION' => '1:2.3-4',
+ 'PATCHESNAME' => '(none)',
+ 'REQUIREFLAGS' => '288',
+ 'NAME' => 'test',
+ 'FILEDEPENDSN' => '0',
+ 'POSTTRANS' => 'echo "Post-transaction script"',
+ 'SUGGESTNEVRS' => '(none)',
+ 'CONFLICTFLAGS' => '0',
+ 'VERIFYSCRIPT' => 'echo "Verify script"',
+ '_INFO' => 'Name : test
+Epoch : 1
+Version : 2.3
+Release : 4
+Architecture: noarch
+Install Date: (not installed)
+Group : Development/System
+Size : 5
+License : MIT
+Signature : (none)
+Source RPM : test-2.3-4.src.rpm
+Build Date : Thu Jan 5 13:46:18 2017
+Build Host : mooffie-desktop
+Relocations : (not relocatable)
+Packager : Test Packager
+Vendor : Test Vendor
+URL : http://example.com
+Summary : Testing
+Description :
+Multi-line description field
+with "double", \'single quotes\', and $weird | \\characters i\\n = i\\\\t, empty line...
+
+...and a tab: [ ].
+',
+ 'DBINSTANCE' => '0',
+ 'FILECOLORS' => '0',
+ 'POSTUNFLAGS' => '(none)',
+ 'POLICYTYPESINDEXES' => '(none)',
+ 'PACKAGER' => 'Test Packager',
+ 'SIGSIZE' => '2408',
+ 'PREINPROG' => '/bin/sh',
+ 'CLASSDICT' => 'ASCII text',
+ 'FILEINODES' => '1',
+ 'EXCLUSIVEARCH' => '(none)',
+ 'ICON' => '(none)',
+ 'OBSOLETEFLAGS' => '0',
+ 'CHANGELOGNAME' => 'Jiri Tyr <jiri.tyr at gmail.com> 1:2.3-4',
+ 'V' => '2.3',
+ 'VERIFYSCRIPTFLAGS' => '(none)',
+ 'SUPPLEMENTFLAGS' => '(none)',
+ 'FILECLASS' => 'ASCII text',
+ 'COOKIE' => '(none)',
+ 'OLDENHANCESNAME' => '(none)',
+ 'FILEDEPENDSX' => '0',
+ 'ORDERNAME' => '(none)',
+ 'TRIGGERSCRIPTS' => '(none)',
+ 'OLDFILENAMES' => '(none)',
+ 'PAYLOADFORMAT' => 'cpio',
+ 'CHANGELOGTIME' => '1483099200',
+ 'DIRINDEXES' => '0',
+ 'OLDENHANCESVERSION' => '(none)',
+ 'OLDENHANCES' => '(none)',
+ 'SIZE' => '5',
+ 'SUMMARY' => 'Testing',
+ 'POLICYFLAGS' => '(none)',
+ 'SOURCERPM' => 'test-2.3-4.src.rpm',
+ 'OBSOLETEVERSION' => '',
+ 'FILEUSERNAME' => 'root',
+ 'EPOCH' => '1',
+ 'ORIGDIRNAMES' => '(none)',
+ 'LICENSE' => 'MIT',
+ 'OLDSUGGESTS' => '(none)',
+ 'PATCHESVERSION' => '(none)',
+ 'FILEMD5S' => 'd8e8fca2dc0f896fd7cb4cb0031ba249',
+ 'POLICIES' => '(none)',
+ 'DSAHEADER' => '(none)',
+ 'LONGSIGSIZE' => '2408',
+ 'ENHANCENEVRS' => '(none)',
+ 'ENHANCEFLAGS' => '(none)',
+ 'PROVIDENEVRS' => 'test = 1:2.3-4',
+ 'OLDSUGGESTSFLAGS' => '(none)',
+ 'NVRA' => 'test-2.3-4.noarch',
+ 'TRIGGERINDEX' => '(none)',
+ 'HEADERI18NTABLE' => 'C',
+ 'PATCHESFLAGS' => '(none)',
+ 'BUILDARCHS' => '(none)',
+ 'ENHANCEVERSION' => '(none)',
+ 'REQUIREFLAGS:depflags' => '',
+ 'RECOMMENDS' => '(none)',
+ 'VERSION' => '2.3',
+ 'FILELINKTOS' => '',
+ 'CONFLICTNEVRS' => 'notest',
+ 'OBSOLETENEVRS' => 'testing',
+ 'E' => '1',
+ 'CHANGELOGTEXT' => '- Initial build.',
+ 'PRETRANSFLAGS' => '(none)',
+ 'REQUIRENAME' => '/bin/sh',
+ 'HEADERREGIONS' => '(none)',
+ 'NOPATCH' => '(none)',
+ 'FILEREQUIRE' => '',
+ 'BUILDTIME' => '1483616778',
+ 'FILEFLAGS' => '0',
+ 'OLDSUGGESTSVERSION' => '(none)',
+ 'PROVIDEFLAGS' => '8',
+ 'O' => 'testing',
+ 'SHA1HEADER' => '94826dbc4976a5c54a494a0591553b972edcf235',
+ 'ARCHIVESIZE' => '264',
+ 'FILENAMES' => '/var/tmp/test.txt',
+ 'FILERDEVS' => '0',
+ 'INSTALLCOLOR' => '(none)',
+ 'REQUIRENEVRS' => '/bin/sh',
+ 'FILEDIGESTS' => 'd8e8fca2dc0f896fd7cb4cb0031ba249',
+ 'EXCLUSIVEOS' => '(none)',
+ 'CHANGELOGTIME:date' => 'Fri Dec 30 14:00:00 2016',
+ 'PREFIXES' => '(none)',
+ 'POLICYNAMES' => '(none)',
+ 'FILEVERIFYFLAGS' => '4294967295',
+ 'TRIGGERNAME' => '(none)',
+ 'PROVIDES' => 'test',
+ 'RELEASE' => '4',
+ 'SOURCEPACKAGE' => '(none)',
+ 'FSCONTEXTS' => '(none)',
+ 'GROUP' => 'Development/System',
+ 'HDRID' => '94826dbc4976a5c54a494a0591553b972edcf235',
+ 'SOURCEPKGID' => '(none)',
+ 'SUGGESTVERSION' => '(none)',
+ 'SIGGPG' => '(none)',
+ 'FILELANGS' => '',
+ 'ORDERFLAGS' => '(none)',
+ 'GIF' => '(none)',
+ 'OBSOLETES' => 'testing',
+ 'REQUIREVERSION' => '',
+ 'PAYLOADFLAGS' => '9',
+ 'TRIGGERTYPE' => '(none)',
+ 'REMOVETID' => '(none)',
+ 'OBSOLETEFLAGS:depflags' => '',
+ 'FILEMTIMES' => '1483616778',
+ 'POSTUN' => 'echo "Post-uninstallation script"',
+ 'PROVIDEFLAGS:depflags' => '=',
+ 'POSTINPROG' => '/bin/sh',
+ 'OLDSUGGESTSNAME' => '(none)',
+ 'BUGURL' => '(none)',
+ 'INSTALLTIME' => '(none)',
+ 'PREINFLAGS' => '(none)',
+ 'LONGARCHIVESIZE' => '264',
+ 'ENHANCES' => '(none)',
+ 'VENDOR' => 'Test Vendor',
+ 'URL' => 'http://example.com',
+ 'RSAHEADER' => '(none)',
+ 'VCS' => '(none)',
+ 'POSTTRANSPROG' => '/bin/sh',
+ 'TRIGGERVERSION' => '(none)',
+ 'ORIGBASENAMES' => '(none)',
+ 'TRIGGERFLAGS' => '(none)',
+ 'RECOMMENDFLAGS' => '(none)',
+ 'ARCH' => 'noarch',
+ 'SUGGESTFLAGS' => '(none)',
+ 'OS' => 'linux',
+ 'PREUNPROG' => '/bin/sh',
+ 'P' => 'test',
+ 'SUPPLEMENTNAME' => '(none)',
+ 'CONFLICTFLAGS:depflags' => '',
+ 'DEPENDSDICT' => '(none)',
+ 'PREUNFLAGS' => '(none)',
+ 'PLATFORM' => 'noarch-debian-linux',
+ 'DIRNAMES' => '/var/tmp/',
+ 'POSTTRANSFLAGS' => '(none)',
+ 'NVR' => 'test-2.3-4',
+ 'SIGPGP' => '(none)',
+ 'INSTFILENAMES' => '(none)',
+ 'CONFLICTS' => 'notest',
+ 'NEVRA' => 'test-1:2.3-4.noarch',
+ 'RECONTEXTS' => '(none)',
+ 'NEVR' => 'test-1:2.3-4',
+ 'REQUIRES' => '/bin/sh',
+ 'PATCH' => '(none)',
+ 'SOURCE' => '(none)',
+ 'LONGSIZE' => '5',
+ 'FILECAPS' => '(none)',
+ 'DISTURL' => '(none)',
+ 'RECOMMENDVERSION' => '(none)',
+ 'FILEMODES' => '33188',
+ 'BUILDHOST' => 'mooffie-desktop',
+ 'PUBKEYS' => '(none)',
+ 'PREUN' => 'echo "Pre-uninstallation script"',
+ 'FILEPROVIDE' => '',
+ 'OPTFLAGS' => '-O2 -g -march=i386 -mtune=i686',
+ 'ORIGFILENAMES' => '(none)',
+ 'CONFLICTNAME' => 'notest',
+ 'TRIGGERSCRIPTFLAGS' => '(none)',
+ 'TRIGGERCONDS' => '(none)',
+ 'HEADERIMAGE' => '(none)',
+ 'SUPPLEMENTVERSION' => '(none)',
+ 'BASENAMES' => 'test.txt',
+ 'SUPPLEMENTS' => '(none)',
+ 'SUGGESTS' => '(none)',
+ 'PREIN' => 'echo "Pre-installation script"',
+ 'OLDENHANCESFLAGS' => '(none)',
+ 'DESCRIPTION' => 'Multi-line description field
+with "double", \'single quotes\', and $weird | \\characters i\\n = i\\\\t, empty line...
+
+...and a tab: [ ].',
+ 'FILESTATES' => '(none)',
+ 'CONFLICTVERSION' => '',
+ 'PROVIDENAME' => 'test',
+ 'HEADERCOLOR' => '0',
+ 'FILECONTEXTS' => '(none)',
+ 'EPOCHNUM' => '1',
+ 'LONGFILESIZES' => '5',
+ 'DISTRIBUTION' => 'Test Distro',
+ 'SUGGESTNAME' => '(none)',
+ 'RPMVERSION' => '4.12.0.1',
+ 'POLICYTYPES' => '(none)',
+ 'HEADERSIGNATURES' => '(none)',
+ 'VERBOSE' => '(none)',
+ 'R' => '4',
+ 'PKGID' => 'e8150d00f05b3becbc59c4a31becfab6',
+ 'NOSOURCE' => '(none)',
+ 'EXCLUDEARCH' => '(none)',
+ 'FILEDIGESTALGO' => '(none)',
+ 'N' => 'test',
+ 'RECOMMENDNAME' => '(none)',
+ 'FILESIZES' => '5',
+ 'FILEDEVICES' => '1',
+ 'EXCLUDEOS' => '(none)',
+ 'C' => 'notest',
+ 'PRETRANSPROG' => '/bin/sh',
+ 'PRETRANS' => 'echo "Pre-transaction script"',
+ 'ORIGDIRINDEXES' => '(none)',
+ 'FILENLINKS' => '1',
+ 'TRIGGERSCRIPTPROG' => '(none)',
+ 'VERIFYSCRIPTPROG' => '/bin/sh',
+ 'OBSOLETENAME' => 'testing',
+ 'RECOMMENDNEVRS' => '(none)',
+ 'POSTINFLAGS' => '(none)',
+ 'BUILDTIME:date' => 'Thu Jan 5 13:46:18 2017',
+ 'SIGMD5' => 'e8150d00f05b3becbc59c4a31becfab6',
+ 'SUPPLEMENTNEVRS' => '(none)',
+ 'FILEGROUPNAME' => 'root',
+ 'POSTUNPROG' => '/bin/sh',
+ 'INSTPREFIXES' => '(none)',
+ 'ORDERVERSION' => '(none)',
+ 'XPM' => '(none)',
+ 'INSTALLTID' => '(none)',
+ 'POSTIN' => 'echo "Post-installation script"',
+ 'DISTTAG' => '(none)',
+ 'PAYLOADCOMPRESSOR' => 'gzip',
+ 'ENHANCENAME' => '(none)',
+ 'EVR' => '1:2.3-4'
+}
+;