summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-10-20 19:30:02 +0000
committerjbj <devnull@localhost>1998-10-20 19:30:02 +0000
commit3607264dfd549d50e3582b6c7061c65fd281e1af (patch)
treecdbd5a57129c31d1fa35c8b6922ed069e8da6da0 /tests
parent444714ca5cb4a6ceb7a483706cffcf0b550174f0 (diff)
downloadrpm-3607264dfd549d50e3582b6c7061c65fd281e1af.tar.gz
rpm-3607264dfd549d50e3582b6c7061c65fd281e1af.tar.bz2
rpm-3607264dfd549d50e3582b6c7061c65fd281e1af.zip
More "make check" enhancement.
CVS patchset: 2469 CVS date: 1998/10/20 19:30:02
Diffstat (limited to 'tests')
-rw-r--r--tests/hello-test/Makefile.am7
-rw-r--r--tests/hello-test/Makefile.in7
-rw-r--r--tests/hello-test/ba.exp1
-rw-r--r--tests/hello-test/ckH.exp112
-rwxr-xr-xtests/hello-test/e11
-rw-r--r--tests/hello-test/e.exp20
-rw-r--r--tests/hello-test/hello-1.0.tar.gzbin764 -> 890 bytes
-rw-r--r--tests/hello-test/hello-1.0/hello.spec10
-rwxr-xr-xtests/hello-test/i11
-rw-r--r--tests/hello-test/i.exp26
-rwxr-xr-xtests/hello-test/qi10
-rw-r--r--tests/hello-test/qi.exp18
12 files changed, 181 insertions, 52 deletions
diff --git a/tests/hello-test/Makefile.am b/tests/hello-test/Makefile.am
index 168a13ab5..caf605df0 100644
--- a/tests/hello-test/Makefile.am
+++ b/tests/hello-test/Makefile.am
@@ -2,7 +2,7 @@
all:
-noinst_SCRIPTS = initdb showrc ba ckL ckH ckS ckC
+noinst_SCRIPTS = initdb showrc ba ckL ckH ckS ckC i qi e
TESTS_ENVIRONMENT = \
rpm="${top_builddir}/rpm --rcfile ${top_builddir}/tests/$(pkglibdir)/rpmrc" \
@@ -11,6 +11,7 @@ TESTS_ENVIRONMENT = \
rpmheader="${top_builddir}/tools/rpmheader" \
rpmsignature="${top_builddir}/tools/rpmsignature" \
rpmdump="${top_builddir}/tools/dump" \
- myrpm="../usr/src/redhat/RPMS/sparc/hello-1.0-1.sparc.rpm"
+ rpmdumpdb="${top_builddir}/tools/dumpdb" \
+ myrpm='../usr/src/redhat/RPMS/*/hello-1.0-1.*.rpm'
-TESTS = initdb showrc ba ckL ckH ckS ckC
+TESTS = initdb showrc ba ckL ckH ckS ckC i qi e
diff --git a/tests/hello-test/Makefile.in b/tests/hello-test/Makefile.in
index 10330c662..e53f4c400 100644
--- a/tests/hello-test/Makefile.in
+++ b/tests/hello-test/Makefile.in
@@ -115,7 +115,7 @@ testdir = @testdir@
tmpdir = @tmpdir@
varprefix = @varprefix@
-noinst_SCRIPTS = initdb showrc ba ckL ckH ckS ckC
+noinst_SCRIPTS = initdb showrc ba ckL ckH ckS ckC i qi e
TESTS_ENVIRONMENT = \
rpm="${top_builddir}/rpm --rcfile ${top_builddir}/tests/$(pkglibdir)/rpmrc" \
@@ -124,9 +124,10 @@ TESTS_ENVIRONMENT = \
rpmheader="${top_builddir}/tools/rpmheader" \
rpmsignature="${top_builddir}/tools/rpmsignature" \
rpmdump="${top_builddir}/tools/dump" \
- myrpm="../usr/src/redhat/RPMS/sparc/hello-1.0-1.sparc.rpm"
+ rpmdumpdb="${top_builddir}/tools/dumpdb" \
+ myrpm='../usr/src/redhat/RPMS/*/hello-1.0-1.*.rpm'
-TESTS = initdb showrc ba ckL ckH ckS ckC
+TESTS = initdb showrc ba ckL ckH ckS ckC i qi e
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../../config.h
CONFIG_CLEAN_FILES =
diff --git a/tests/hello-test/ba.exp b/tests/hello-test/ba.exp
index f649abe2b..0c704915a 100644
--- a/tests/hello-test/ba.exp
+++ b/tests/hello-test/ba.exp
@@ -39,6 +39,7 @@ Executing: %doc
+ exit 0
Finding provides...
Finding requires...
+Provides: hi
Prereqs: /bin/sh
Requires: ld-linux.so.2 libc.so.6
Wrote: /usr/src/redhat/SRPMS/hello-1.0-1.src.rpm
diff --git a/tests/hello-test/ckH.exp b/tests/hello-test/ckH.exp
index b9f0a4a64..b37d7542e 100644
--- a/tests/hello-test/ckH.exp
+++ b/tests/hello-test/ckH.exp
@@ -1,4 +1,4 @@
-Entry count: 42
+Entry count: 52
CT TAG TYPE OFSET COUNT
Entry : 000 (100)(unknown) STRING_ARRAY_TYPE 0xffffffff 00000001
@@ -9,113 +9,133 @@ Entry : 002 (1001)RPMTAG_VERSION STRING_TYPE 0xffffffff 00000001
Data: 000 1.0
Entry : 003 (1002)RPMTAG_RELEASE STRING_TYPE 0xffffffff 00000001
Data: 000 1
-Entry : 004 (1004)RPMTAG_SUMMARY I18N_STRING_TYPE 0xffffffff 00000001
+Entry : 004 (1003)RPMTAG_EPOCH INT32_TYPE 0xffffffff 00000001
+ Data: 000 0x00000001 (1)
+Entry : 005 (1004)RPMTAG_SUMMARY I18N_STRING_TYPE 0xffffffff 00000001
Data: 000 hello -- hello, world rpm
-Entry : 005 (1005)RPMTAG_DESCRIPTION I18N_STRING_TYPE 0xffffffff 00000001
+Entry : 006 (1005)RPMTAG_DESCRIPTION I18N_STRING_TYPE 0xffffffff 00000001
Data: 000 Simple rpm demonstration.
-Entry : 006 (1006)RPMTAG_BUILDTIME INT32_TYPE 0xffffffff 00000001
- Data: 000 0x362cac47 (908897351)
-Entry : 007 (1007)RPMTAG_BUILDHOST STRING_TYPE 0xffffffff 00000001
+Entry : 007 (1006)RPMTAG_BUILDTIME INT32_TYPE 0xffffffff 00000001
+ Data: 000 0x362cd576 (908907894)
+Entry : 008 (1007)RPMTAG_BUILDHOST STRING_TYPE 0xffffffff 00000001
Data: 000 krusty.devel.redhat.com
-Entry : 008 (1009)RPMTAG_SIZE INT32_TYPE 0xffffffff 00000001
+Entry : 009 (1009)RPMTAG_SIZE INT32_TYPE 0xffffffff 00000001
Data: 000 0x00007c67 (31847)
-Entry : 009 (1014)RPMTAG_LICENSE STRING_TYPE 0xffffffff 00000001
+Entry : 010 (1010)RPMTAG_DISTRIBUTION STRING_TYPE 0xffffffff 00000001
+ Data: 000 RPM test suite.
+Entry : 011 (1011)RPMTAG_VENDOR STRING_TYPE 0xffffffff 00000001
+ Data: 000 Red Hat Software
+Entry : 012 (1014)RPMTAG_LICENSE STRING_TYPE 0xffffffff 00000001
Data: 000 GPL
-Entry : 010 (1016)RPMTAG_GROUP I18N_STRING_TYPE 0xffffffff 00000001
+Entry : 013 (1015)RPMTAG_PACKAGER STRING_TYPE 0xffffffff 00000001
+ Data: 000 Red Hat Software <bugs@redhat.com>
+Entry : 014 (1016)RPMTAG_GROUP I18N_STRING_TYPE 0xffffffff 00000001
Data: 000 Utilities
-Entry : 011 (1020)RPMTAG_URL STRING_TYPE 0xffffffff 00000001
+Entry : 015 (1020)RPMTAG_URL STRING_TYPE 0xffffffff 00000001
Data: 000 http://www.redhat.com
-Entry : 012 (1021)RPMTAG_OS STRING_TYPE 0xffffffff 00000001
+Entry : 016 (1021)RPMTAG_OS STRING_TYPE 0xffffffff 00000001
Data: 000 Linux
-Entry : 013 (1022)RPMTAG_ARCH STRING_TYPE 0xffffffff 00000001
+Entry : 017 (1022)RPMTAG_ARCH STRING_TYPE 0xffffffff 00000001
Data: 000 sparc
-Entry : 014 (1027)RPMTAG_FILENAMES STRING_ARRAY_TYPE 0xffffffff 00000003
+Entry : 018 (1027)RPMTAG_FILENAMES STRING_ARRAY_TYPE 0xffffffff 00000003
Data: 000 /home/devel/jbj/src/rpm/tests/usr/doc/hello-1.0
Data: 001 /home/devel/jbj/src/rpm/tests/usr/doc/hello-1.0/FAQ
Data: 002 /usr/local/bin/hello
-Entry : 015 (1028)RPMTAG_FILESIZES INT32_TYPE 0xffffffff 00000003
+Entry : 019 (1028)RPMTAG_FILESIZES INT32_TYPE 0xffffffff 00000003
Data: 000 0x00000400 (1024)
Data: 001 0x00000024 (36)
Data: 002 0x00007843 (30787)
-Entry : 016 (1030)RPMTAG_FILEMODES INT16_TYPE 0xffffffff 00000003
+Entry : 020 (1030)RPMTAG_FILEMODES INT16_TYPE 0xffffffff 00000003
Data: 000 0x41ed (16877)
Data: 001 0xffff81a4 (-32348)
Data: 002 0xffff81e9 (-32279)
-Entry : 017 (1033)RPMTAG_FILERDEVS INT16_TYPE 0xffffffff 00000003
+Entry : 021 (1033)RPMTAG_FILERDEVS INT16_TYPE 0xffffffff 00000003
Data: 000 0x0000 (0)
Data: 001 0x0000 (0)
Data: 002 0x0000 (0)
-Entry : 018 (1034)RPMTAG_FILEMTIMES INT32_TYPE 0xffffffff 00000003
- Data: 000 0x362cac42 (908897346)
+Entry : 022 (1034)RPMTAG_FILEMTIMES INT32_TYPE 0xffffffff 00000003
+ Data: 000 0x362cd571 (908907889)
Data: 001 0x362ca336 (908895030)
- Data: 002 0x362cac42 (908897346)
-Entry : 019 (1035)RPMTAG_FILEMD5S STRING_ARRAY_TYPE 0xffffffff 00000003
+ Data: 002 0x362cd571 (908907889)
+Entry : 023 (1035)RPMTAG_FILEMD5S STRING_ARRAY_TYPE 0xffffffff 00000003
Data: 000
Data: 001 33cccc1f055d73acaceed7d8204e99c7
Data: 002 741e702cdf114c95a9e965fa8aa40864
-Entry : 020 (1036)RPMTAG_FILELINKTOS STRING_ARRAY_TYPE 0xffffffff 00000003
+Entry : 024 (1036)RPMTAG_FILELINKTOS STRING_ARRAY_TYPE 0xffffffff 00000003
Data: 000
Data: 001
Data: 002
-Entry : 021 (1037)RPMTAG_FILEFLAGS INT32_TYPE 0xffffffff 00000003
+Entry : 025 (1037)RPMTAG_FILEFLAGS INT32_TYPE 0xffffffff 00000003
Data: 000 0x00000000 (0)
Data: 001 0x00000002 (2)
Data: 002 0x00000000 (0)
-Entry : 022 (1039)RPMTAG_FILEUSERNAME STRING_ARRAY_TYPE 0xffffffff 00000003
+Entry : 026 (1039)RPMTAG_FILEUSERNAME STRING_ARRAY_TYPE 0xffffffff 00000003
Data: 000 root
Data: 001 root
Data: 002 root
-Entry : 023 (1040)RPMTAG_FILEGROUPNAME STRING_ARRAY_TYPE 0xffffffff 00000003
+Entry : 027 (1040)RPMTAG_FILEGROUPNAME STRING_ARRAY_TYPE 0xffffffff 00000003
Data: 000 root
Data: 001 root
Data: 002 root
-Entry : 024 (1044)RPMTAG_SOURCERPM STRING_TYPE 0xffffffff 00000001
+Entry : 028 (1044)RPMTAG_SOURCERPM STRING_TYPE 0xffffffff 00000001
Data: 000 hello-1.0-1.src.rpm
-Entry : 025 (1045)RPMTAG_FILEVERIFYFLAGS INT32_TYPE 0xffffffff 00000003
+Entry : 029 (1045)RPMTAG_FILEVERIFYFLAGS INT32_TYPE 0xffffffff 00000003
Data: 000 0x00000000 (0)
Data: 001 0x00000000 (0)
Data: 002 0xffffffff (-1)
-Entry : 026 (1046)RPMTAG_ARCHIVESIZE INT32_TYPE 0xffffffff 00000001
+Entry : 030 (1046)RPMTAG_ARCHIVESIZE INT32_TYPE 0xffffffff 00000001
Data: 000 0x00007aac (31404)
-Entry : 027 (1048)RPMTAG_REQUIREFLAGS INT32_TYPE 0xffffffff 00000003
+Entry : 031 (1047)RPMTAG_PROVIDES STRING_ARRAY_TYPE 0xffffffff 00000001
+ Data: 000 hi
+Entry : 032 (1048)RPMTAG_REQUIREFLAGS INT32_TYPE 0xffffffff 00000003
Data: 000 0x00000040 (64)
Data: 001 0x00000000 (0)
Data: 002 0x00000000 (0)
-Entry : 028 (1049)RPMTAG_REQUIRENAME STRING_ARRAY_TYPE 0xffffffff 00000003
+Entry : 033 (1049)RPMTAG_REQUIRENAME STRING_ARRAY_TYPE 0xffffffff 00000003
Data: 000 /bin/sh
Data: 001 ld-linux.so.2
Data: 002 libc.so.6
-Entry : 029 (1050)RPMTAG_REQUIREVERSION STRING_ARRAY_TYPE 0xffffffff 00000003
+Entry : 034 (1050)RPMTAG_REQUIREVERSION STRING_ARRAY_TYPE 0xffffffff 00000003
Data: 000
Data: 001
Data: 002
-Entry : 030 (1064)RPMTAG_RPMVERSION STRING_TYPE 0xffffffff 00000001
+Entry : 035 (1053)RPMTAG_CONFLICTFLAGS INT32_TYPE 0xffffffff 00000001
+ Data: 000 0x00000000 (0)
+Entry : 036 (1054)RPMTAG_CONFLICTNAME STRING_ARRAY_TYPE 0xffffffff 00000001
+ Data: 000 goodbye
+Entry : 037 (1055)RPMTAG_CONFLICTVERSION STRING_ARRAY_TYPE 0xffffffff 00000001
+ Data: 000
+Entry : 038 (1064)RPMTAG_RPMVERSION STRING_TYPE 0xffffffff 00000001
Data: 000 2.90
-Entry : 031 (1080)RPMTAG_CHANGELOGTIME INT32_TYPE 0xffffffff 00000001
+Entry : 039 (1080)RPMTAG_CHANGELOGTIME INT32_TYPE 0xffffffff 00000001
Data: 000 0x362cf9d0 (908917200)
-Entry : 032 (1081)RPMTAG_CHANGELOGNAME STRING_ARRAY_TYPE 0xffffffff 00000001
+Entry : 040 (1081)RPMTAG_CHANGELOGNAME STRING_ARRAY_TYPE 0xffffffff 00000001
Data: 000 Jeff Johnson <jbj@redhat.com>
-Entry : 033 (1082)RPMTAG_CHANGELOGTEXT STRING_ARRAY_TYPE 0xffffffff 00000001
+Entry : 041 (1082)RPMTAG_CHANGELOGTEXT STRING_ARRAY_TYPE 0xffffffff 00000001
Data: 000 - create.
-Entry : 034 (1085)RPMTAG_PREINPROG STRING_TYPE 0xffffffff 00000001
+Entry : 042 (1085)RPMTAG_PREINPROG STRING_TYPE 0xffffffff 00000001
Data: 000 /bin/sh
-Entry : 035 (1086)RPMTAG_POSTINPROG STRING_TYPE 0xffffffff 00000001
+Entry : 043 (1086)RPMTAG_POSTINPROG STRING_TYPE 0xffffffff 00000001
Data: 000 /bin/sh
-Entry : 036 (1087)RPMTAG_PREUNPROG STRING_TYPE 0xffffffff 00000001
+Entry : 044 (1087)RPMTAG_PREUNPROG STRING_TYPE 0xffffffff 00000001
Data: 000 /bin/sh
-Entry : 037 (1088)RPMTAG_POSTUNPROG STRING_TYPE 0xffffffff 00000001
+Entry : 045 (1088)RPMTAG_POSTUNPROG STRING_TYPE 0xffffffff 00000001
Data: 000 /bin/sh
-Entry : 038 (1094)RPMTAG_COOKIE STRING_TYPE 0xffffffff 00000001
- Data: 000 krusty.devel.redhat.com 908897351
-Entry : 039 (1095)RPMTAG_FILEDEVICES INT32_TYPE 0xffffffff 00000003
+Entry : 046 (1090)RPMTAG_OBSOLETES STRING_ARRAY_TYPE 0xffffffff 00000001
+ Data: 000 howdy
+Entry : 047 (1094)RPMTAG_COOKIE STRING_TYPE 0xffffffff 00000001
+ Data: 000 krusty.devel.redhat.com 908907894
+Entry : 048 (1095)RPMTAG_FILEDEVICES INT32_TYPE 0xffffffff 00000003
Data: 000 0x00000804 (2052)
Data: 001 0x00000804 (2052)
Data: 002 0x00000804 (2052)
-Entry : 040 (1096)RPMTAG_FILEINODES INT32_TYPE 0xffffffff 00000003
- Data: 000 0x0001bc87 (113799)
- Data: 001 0x0001bc88 (113800)
- Data: 002 0x00010de6 (69094)
-Entry : 041 (1097)RPMTAG_FILELANGS STRING_ARRAY_TYPE 0xffffffff 00000003
+Entry : 049 (1096)RPMTAG_FILEINODES INT32_TYPE 0xffffffff 00000003
+ Data: 000 0x000194d7 (103639)
+ Data: 001 0x000194d8 (103640)
+ Data: 002 0x00010de9 (69097)
+Entry : 050 (1097)RPMTAG_FILELANGS STRING_ARRAY_TYPE 0xffffffff 00000003
Data: 000
Data: 001
Data: 002
+Entry : 051 (1098)RPMTAG_PREFIXES STRING_ARRAY_TYPE 0xffffffff 00000001
+ Data: 000 /usr
diff --git a/tests/hello-test/e b/tests/hello-test/e
new file mode 100755
index 000000000..5142f4344
--- /dev/null
+++ b/tests/hello-test/e
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+rpm=${rpm:=rpm}
+destdir="`pwd`"
+destdir="`dirname $destdir`"
+
+$rpm -e -vv hello | \
+ sed -e "s,$destdir,,g" > $0.out
+
+diff $0.out $0.exp || exit 1
+
diff --git a/tests/hello-test/e.exp b/tests/hello-test/e.exp
new file mode 100644
index 000000000..89f331cc9
--- /dev/null
+++ b/tests/hello-test/e.exp
@@ -0,0 +1,20 @@
+D: counting packages to uninstall
+D: opening database in //var/lib/rpm/
+D: found 1 packages to uninstall
+D: uninstalling record number 1752
+D: will remove files test = 0
+D: /hello-test/../usr/local/bin/hello - removing
+D: /usr/doc/hello-1.0/FAQ - removing
+D: /usr/doc/hello-1.0 - removing
+D: running postuninstall script (if any)
+D: removing database entry
+D: removing name index
+D: removing group index
+D: removing provides index for hi
+D: removing requiredby index for /bin/sh
+D: removing requiredby index for ld-linux.so.2
+D: removing requiredby index for libc.so.6
+D: removing conflict index for goodbye
+D: removing file index for /usr/doc/hello-1.0
+D: removing file index for /usr/doc/hello-1.0/FAQ
+D: removing file index for /hello-test/../usr/local/bin/hello
diff --git a/tests/hello-test/hello-1.0.tar.gz b/tests/hello-test/hello-1.0.tar.gz
index 88ecd72aa..48b2cd7d0 100644
--- a/tests/hello-test/hello-1.0.tar.gz
+++ b/tests/hello-test/hello-1.0.tar.gz
Binary files differ
diff --git a/tests/hello-test/hello-1.0/hello.spec b/tests/hello-test/hello-1.0/hello.spec
index 23052cead..48ad24ed6 100644
--- a/tests/hello-test/hello-1.0/hello.spec
+++ b/tests/hello-test/hello-1.0/hello.spec
@@ -2,10 +2,20 @@ Summary: hello -- hello, world rpm
Name: hello
Version: 1.0
Release: 1
+Serial: 1
Group: Utilities
License: GPL
+Distribution: RPM test suite.
+Vendor: Red Hat Software
+Packager: Red Hat Software <bugs@redhat.com>
URL: http://www.redhat.com
Source0: hello-1.0.tar.gz
+Excludearch: lsi
+Excludeos: cpm
+Provides: hi
+Conflicts: goodbye
+Obsoletes: howdy
+Prefix: /usr
BuildRoot: /var/tmp/hello-root
%description
diff --git a/tests/hello-test/i b/tests/hello-test/i
new file mode 100755
index 000000000..943c221ff
--- /dev/null
+++ b/tests/hello-test/i
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+rpm=${rpm:=rpm}
+destdir="`pwd`"
+destdir="`dirname $destdir`"
+
+$rpm -i -vv --nodeps --prefix="`pwd`/../usr" $myrpm | \
+ sed -e "s,$destdir,,g" > $0.out
+
+diff $0.out $0.exp || exit 1
+
diff --git a/tests/hello-test/i.exp b/tests/hello-test/i.exp
new file mode 100644
index 000000000..0ff27b996
--- /dev/null
+++ b/tests/hello-test/i.exp
@@ -0,0 +1,26 @@
+D: counting packages to install
+D: found 1 packages
+D: looking for packages to download
+D: retrieved 0 packages
+D: finding source and binary packages
+D: New Header signature
+D: Signature size: 68
+D: Signature pad : 4
+D: sigsize : 72
+D: Header + Archive: 13492
+D: expected size : 13492
+D: found 0 source and 1 binary packages
+D: opening database mode: 01002
+D: opening database in //var/lib/rpm/
+D: installing binary packages
+Installing ../usr/src/redhat/RPMS/sparc/hello-1.0-1.sparc.rpm
+D: New Header signature
+D: Signature size: 68
+D: Signature pad : 4
+D: sigsize : 72
+D: Header + Archive: 13492
+D: expected size : 13492
+D: package: hello-1.0-1 files test = 0
+D: relocating /usr/local/bin/hello to /hello-test/../usr/local/bin/hello
+D: running preinstall script (if any)
+D: running postinstall script (if any)
diff --git a/tests/hello-test/qi b/tests/hello-test/qi
new file mode 100755
index 000000000..93711e637
--- /dev/null
+++ b/tests/hello-test/qi
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+rpm=${rpm:=rpm}
+destdir="`pwd`"
+destdir="`dirname $destdir`"
+
+$rpm -qil --scripts hello > $0.out
+
+diff $0.out $0.exp || exit 0
+
diff --git a/tests/hello-test/qi.exp b/tests/hello-test/qi.exp
new file mode 100644
index 000000000..c3800a07f
--- /dev/null
+++ b/tests/hello-test/qi.exp
@@ -0,0 +1,18 @@
+Name : hello Distribution: RPM test suite.
+Version : 1.0 Vendor: Red Hat Software
+Release : 1 Build Date: Tue Oct 20 14:21:44 1998
+Install date: Tue Oct 20 14:21:47 1998 Build Host: krusty.devel.redhat.com
+Group : Utilities Source RPM: hello-1.0-1.src.rpm
+Size : 31847 License: GPL
+Packager : Red Hat Software <bugs@redhat.com>
+URL : http://www.redhat.com
+Summary : hello -- hello, world rpm
+Description :
+Simple rpm demonstration.
+preinstall program: /bin/sh
+postinstall program: /bin/sh
+preuninstall program: /bin/sh
+postuninstall program: /bin/sh
+/home/devel/jbj/src/rpm/tests/usr/doc/hello-1.0
+/home/devel/jbj/src/rpm/tests/usr/doc/hello-1.0/FAQ
+/home/devel/jbj/src/rpm/tests/hello-test/../usr/local/bin/hello