diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-09-18 06:03:33 +0200 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-09-18 06:03:33 +0200 |
commit | 71f0cce9f9ffe70a849d9c0739c9632f8a90cd19 (patch) | |
tree | 3a5ab14dfe76d98be879fc68bc60beeb4008852c /tests | |
parent | 90688278db31b05a56ca1e7c29cc71d38ce28ff3 (diff) | |
download | librpm-tizen-71f0cce9f9ffe70a849d9c0739c9632f8a90cd19.tar.gz librpm-tizen-71f0cce9f9ffe70a849d9c0739c9632f8a90cd19.tar.bz2 librpm-tizen-71f0cce9f9ffe70a849d9c0739c9632f8a90cd19.zip |
Remove.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/hello-test/ba | 16 | ||||
-rw-r--r-- | tests/hello-test/ba.exp | 52 | ||||
-rwxr-xr-x | tests/hello-test/ckC | 5 | ||||
-rw-r--r-- | tests/hello-test/ckC.exp | 3 | ||||
-rwxr-xr-x | tests/hello-test/ckH | 5 | ||||
-rw-r--r-- | tests/hello-test/ckH.exp | 143 | ||||
-rwxr-xr-x | tests/hello-test/ckL | 5 | ||||
-rw-r--r-- | tests/hello-test/ckL.exp | 7 | ||||
-rwxr-xr-x | tests/hello-test/ckS | 5 | ||||
-rw-r--r-- | tests/hello-test/ckS.exp | 8 | ||||
-rwxr-xr-x | tests/hello-test/e | 11 | ||||
-rw-r--r-- | tests/hello-test/e.exp | 20 | ||||
-rwxr-xr-x | tests/hello-test/i | 15 | ||||
-rw-r--r-- | tests/hello-test/i.exp | 28 | ||||
-rwxr-xr-x | tests/hello-test/qi | 10 | ||||
-rw-r--r-- | tests/hello-test/qi.exp | 18 |
16 files changed, 0 insertions, 351 deletions
diff --git a/tests/hello-test/ba b/tests/hello-test/ba deleted file mode 100755 index 1c509f057..000000000 --- a/tests/hello-test/ba +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -DBG=echo - -rpm=${rpm:=rpm} -destdir="`pwd`" -destdir="`dirname $destdir`" - -cp hello-1.0.tar.gz ../usr/src/redhat/SOURCES -zcat hello-1.0.tar.gz | tar xOf - \*.spec > ../usr/src/redhat/SPECS/hello.spec - -${DBGX} $rpm -ba ../usr/src/redhat/SPECS/hello.spec 2>&1 | \ - sed -e "s,$destdir,,g" -e '/^make\[[0-9][0-9]*\]:/d' > $0.out - -diff $0.out $0.exp || exit 1 - diff --git a/tests/hello-test/ba.exp b/tests/hello-test/ba.exp deleted file mode 100644 index 88c428a68..000000000 --- a/tests/hello-test/ba.exp +++ /dev/null @@ -1,52 +0,0 @@ -Executing: %prep -+ umask 022 -+ cd /usr/src/redhat/BUILD -+ cd /usr/src/redhat/BUILD -+ rm -rf hello-1.0 -+ /bin/gzip -d -+ tar -xf - -+ STATUS=0 -+ [ 0 -ne 0 ] -+ cd hello-1.0 -+ chmod -R a+rX,g-w,o-w . -+ exit 0 -Executing: %build -+ umask 022 -+ cd /usr/src/redhat/BUILD -+ cd hello-1.0 -+ make -cc hello.c -o hello -+ exit 0 -Executing: %install -+ umask 022 -+ cd /usr/src/redhat/BUILD -+ cd hello-1.0 -+ rm -rf /var/tmp/hello-root -+ mkdir -p /var/tmp/hello-root/usr/local/bin -+ make DESTDIR=/var/tmp/hello-root install -install -m 0755 hello /var/tmp/hello-root/usr/local/bin -+ exit 0 -Processing files: hello -Executing: %doc -+ umask 022 -+ cd /usr/src/redhat/BUILD -+ cd hello-1.0 -+ DOCDIR=/var/tmp/hello-root/usr/doc/hello-1.0 -+ export DOCDIR -+ rm -rf /var/tmp/hello-root/usr/doc/hello-1.0 -+ /bin/mkdir -p /var/tmp/hello-root/usr/doc/hello-1.0 -+ cp -pr FAQ /var/tmp/hello-root/usr/doc/hello-1.0 -+ 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 -Wrote: /usr/src/redhat/RPMS/sparc/hello-1.0-1.sparc.rpm -Executing: %clean -+ umask 022 -+ cd /usr/src/redhat/BUILD -+ cd hello-1.0 -+ rm -rf /var/tmp/hello-root -+ exit 0 diff --git a/tests/hello-test/ckC b/tests/hello-test/ckC deleted file mode 100755 index 5acbf4966..000000000 --- a/tests/hello-test/ckC +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -$rpm2cpio $myrpm | cpio -it > $0.out - -diff $0.out $0.exp || exit 1 diff --git a/tests/hello-test/ckC.exp b/tests/hello-test/ckC.exp deleted file mode 100644 index b956c266e..000000000 --- a/tests/hello-test/ckC.exp +++ /dev/null @@ -1,3 +0,0 @@ -usr/doc/hello-1.0 -usr/doc/hello-1.0/FAQ -usr/local/bin/hello diff --git a/tests/hello-test/ckH b/tests/hello-test/ckH deleted file mode 100755 index 0372e79a0..000000000 --- a/tests/hello-test/ckH +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -$rpmheader $myrpm | $rpmdump > $0.out - -diff $0.out $0.exp || exit 0 diff --git a/tests/hello-test/ckH.exp b/tests/hello-test/ckH.exp deleted file mode 100644 index 3c9f4d9f1..000000000 --- a/tests/hello-test/ckH.exp +++ /dev/null @@ -1,143 +0,0 @@ -Entry count: 53 - - CT TAG TYPE OFSET COUNT -Entry : 000 (100)(unknown) STRING_ARRAY_TYPE 0xffffffff 00000001 - Data: 000 C -Entry : 001 (1000)RPMTAG_NAME STRING_TYPE 0xffffffff 00000001 - Data: 000 hello -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 (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 : 006 (1005)RPMTAG_DESCRIPTION I18N_STRING_TYPE 0xffffffff 00000001 - Data: 000 Simple rpm demonstration. -Entry : 007 (1006)RPMTAG_BUILDTIME INT32_TYPE 0xffffffff 00000001 - Data: 000 0x36e56b91 (921004945) -Entry : 008 (1007)RPMTAG_BUILDHOST STRING_TYPE 0xffffffff 00000001 - Data: 000 sparc9.test.redhat.com -Entry : 009 (1009)RPMTAG_SIZE INT32_TYPE 0xffffffff 00000001 - Data: 000 0x00007c67 (31847) -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 : 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 : 015 (1020)RPMTAG_URL STRING_TYPE 0xffffffff 00000001 - Data: 000 http://www.redhat.com -Entry : 016 (1021)RPMTAG_OS STRING_TYPE 0xffffffff 00000001 - Data: 000 Linux -Entry : 017 (1022)RPMTAG_ARCH STRING_TYPE 0xffffffff 00000001 - Data: 000 sparc -Entry : 018 (1027)RPMTAG_FILENAMES STRING_ARRAY_TYPE 0xffffffff 00000003 - Data: 000 /usr/doc/hello-1.0 - Data: 001 /usr/doc/hello-1.0/FAQ - Data: 002 /usr/local/bin/hello -Entry : 019 (1028)RPMTAG_FILESIZES INT32_TYPE 0xffffffff 00000003 - Data: 000 0x00000400 (1024) - Data: 001 0x00000024 (36) - Data: 002 0x00007843 (30787) -Entry : 020 (1030)RPMTAG_FILEMODES INT16_TYPE 0xffffffff 00000003 - Data: 000 0x41ed (16877) - Data: 001 0x81a4 (-32348) - Data: 002 0x81e9 (-32279) -Entry : 021 (1033)RPMTAG_FILERDEVS INT16_TYPE 0xffffffff 00000003 - Data: 000 0x0000 (0) - Data: 001 0x0000 (0) - Data: 002 0x0000 (0) -Entry : 022 (1034)RPMTAG_FILEMTIMES INT32_TYPE 0xffffffff 00000003 - Data: 000 0x36e56b8b (921004939) - Data: 001 0x362ca336 (908895030) - Data: 002 0x36e56b8a (921004938) -Entry : 023 (1035)RPMTAG_FILEMD5S STRING_ARRAY_TYPE 0xffffffff 00000003 - Data: 000 - Data: 001 33cccc1f055d73acaceed7d8204e99c7 - Data: 002 741e702cdf114c95a9e965fa8aa40864 -Entry : 024 (1036)RPMTAG_FILELINKTOS STRING_ARRAY_TYPE 0xffffffff 00000003 - Data: 000 - Data: 001 - Data: 002 -Entry : 025 (1037)RPMTAG_FILEFLAGS INT32_TYPE 0xffffffff 00000003 - Data: 000 0x00000000 (0) - Data: 001 0x00000002 (2) - Data: 002 0x00000000 (0) -Entry : 026 (1039)RPMTAG_FILEUSERNAME STRING_ARRAY_TYPE 0xffffffff 00000003 - Data: 000 root - Data: 001 root - Data: 002 root -Entry : 027 (1040)RPMTAG_FILEGROUPNAME STRING_ARRAY_TYPE 0xffffffff 00000003 - Data: 000 root - Data: 001 root - Data: 002 root -Entry : 028 (1044)RPMTAG_SOURCERPM STRING_TYPE 0xffffffff 00000001 - Data: 000 hello-1.0-1.src.rpm -Entry : 029 (1045)RPMTAG_FILEVERIFYFLAGS INT32_TYPE 0xffffffff 00000003 - Data: 000 0x00000000 (0) - Data: 001 0x00000000 (0) - Data: 002 0xffffffff (-1) -Entry : 030 (1046)RPMTAG_ARCHIVESIZE INT32_TYPE 0xffffffff 00000001 - Data: 000 0x00007a6c (31340) -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 : 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 : 034 (1050)RPMTAG_REQUIREVERSION STRING_ARRAY_TYPE 0xffffffff 00000003 - Data: 000 - Data: 001 - Data: 002 -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.5.7 -Entry : 039 (1080)RPMTAG_CHANGELOGTIME INT32_TYPE 0xffffffff 00000001 - Data: 000 0x362cf9d0 (908917200) -Entry : 040 (1081)RPMTAG_CHANGELOGNAME STRING_ARRAY_TYPE 0xffffffff 00000001 - Data: 000 Jeff Johnson <jbj@redhat.com> -Entry : 041 (1082)RPMTAG_CHANGELOGTEXT STRING_ARRAY_TYPE 0xffffffff 00000001 - Data: 000 - create. -Entry : 042 (1085)RPMTAG_PREINPROG STRING_TYPE 0xffffffff 00000001 - Data: 000 /bin/sh -Entry : 043 (1086)RPMTAG_POSTINPROG STRING_TYPE 0xffffffff 00000001 - Data: 000 /bin/sh -Entry : 044 (1087)RPMTAG_PREUNPROG STRING_TYPE 0xffffffff 00000001 - Data: 000 /bin/sh -Entry : 045 (1088)RPMTAG_POSTUNPROG STRING_TYPE 0xffffffff 00000001 - Data: 000 /bin/sh -Entry : 046 (1090)RPMTAG_OBSOLETES STRING_ARRAY_TYPE 0xffffffff 00000001 - Data: 000 howdy -Entry : 047 (1094)RPMTAG_COOKIE STRING_TYPE 0xffffffff 00000001 - Data: 000 sparc9.test.redhat.com 921004945 -Entry : 048 (1095)RPMTAG_FILEDEVICES INT32_TYPE 0xffffffff 00000003 - Data: 000 0x00000801 (2049) - Data: 001 0x00000801 (2049) - Data: 002 0x00000801 (2049) -Entry : 049 (1096)RPMTAG_FILEINODES INT32_TYPE 0xffffffff 00000003 - Data: 000 0x000410ab (266411) - Data: 001 0x000410ac (266412) - Data: 002 0x0004807b (295035) -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 -Entry : 052 (1105)RPMTAG_CAPABILITY INT32_TYPE 0xffffffff 00000001 - Data: 000 0x00000000 (0) diff --git a/tests/hello-test/ckL b/tests/hello-test/ckL deleted file mode 100755 index 11d0dd872..000000000 --- a/tests/hello-test/ckL +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -$rpmlead $myrpm | od -c > $0.out - -diff $0.out $0.exp || exit 1 diff --git a/tests/hello-test/ckL.exp b/tests/hello-test/ckL.exp deleted file mode 100644 index a5af06160..000000000 --- a/tests/hello-test/ckL.exp +++ /dev/null @@ -1,7 +0,0 @@ -0000000 355 253 356 333 003 \0 \0 \0 \0 003 h e l l o - -0000020 1 . 0 - 1 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 -0000040 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 -* -0000100 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 001 \0 005 -0000120 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 -0000140 diff --git a/tests/hello-test/ckS b/tests/hello-test/ckS deleted file mode 100755 index 4596fd330..000000000 --- a/tests/hello-test/ckS +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -$rpmsignature $myrpm | $rpmdump > $0.out - -diff $0.out $0.exp || exit 0 diff --git a/tests/hello-test/ckS.exp b/tests/hello-test/ckS.exp deleted file mode 100644 index 5549aeeb1..000000000 --- a/tests/hello-test/ckS.exp +++ /dev/null @@ -1,8 +0,0 @@ -Entry count: 2 - - CT TAG TYPE OFSET COUNT -Entry : 000 (1000)RPMTAG_NAME INT32_TYPE 0xffffffff 00000001 - Data: 000 0x000033ec (13292) -Entry : 001 (1004)RPMTAG_SUMMARY BIN_TYPE 0xffffffff 00000016 - Data: 000 f0 a9 66 7d 8c f8 4d 0c - Data: 008 1b c3 b6 c4 23 67 25 e6 diff --git a/tests/hello-test/e b/tests/hello-test/e deleted file mode 100755 index 5142f4344..000000000 --- a/tests/hello-test/e +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 deleted file mode 100644 index 565ad5704..000000000 --- a/tests/hello-test/e.exp +++ /dev/null @@ -1,20 +0,0 @@ -D: counting packages to uninstall -D: opening database in //var/lib/rpm/ -D: found 1 packages to uninstall -D: uninstalling record number 24 -D: will remove files test = 0 -D: /hello-test/../usr/local/bin/hello - removing -D: /hello-test/../usr/doc/hello-1.0/FAQ - removing -D: /hello-test/../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 /hello-test/../usr/doc/hello-1.0 -D: removing file index for /hello-test/../usr/doc/hello-1.0/FAQ -D: removing file index for /hello-test/../usr/local/bin/hello diff --git a/tests/hello-test/i b/tests/hello-test/i deleted file mode 100755 index 774e3f3db..000000000 --- a/tests/hello-test/i +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -rpm=${rpm:=rpm} -destdir="`pwd`" -destdir="`dirname $destdir`" - -# -# ../../rpm --rcfile ../../tests//usr/lib/rpm/rpmrc -i -vv --nodeps --prefix=/home/devel/jbj/src/rpm/tests/hello-test/../usr ../usr/src/redhat/RPMS/sparc/hello-1.0-1.sparc.rpm -# - -$rpm -i -vv --nodeps --relocate /usr="`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 deleted file mode 100644 index 624017402..000000000 --- a/tests/hello-test/i.exp +++ /dev/null @@ -1,28 +0,0 @@ -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: 13292 -D: expected size : 13292 -D: found 0 source and 1 binary packages -D: opening database mode: 01002 -D: opening database in //var/lib/rpm/ -D: installing binary rpms -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: 13292 -D: expected size : 13292 -D: package: hello-1.0-1 files test = 0 -D: relocating /usr/local/bin/hello to /hello-test/../usr/local/bin/hello -D: relocating /usr/doc/hello-1.0/FAQ to /hello-test/../usr/doc/hello-1.0/FAQ -D: relocating /usr/doc/hello-1.0 to /hello-test/../usr/doc/hello-1.0 -D: running preinstall script (if any) -D: running postinstall script (if any) diff --git a/tests/hello-test/qi b/tests/hello-test/qi deleted file mode 100755 index 93711e637..000000000 --- a/tests/hello-test/qi +++ /dev/null @@ -1,10 +0,0 @@ -#!/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 deleted file mode 100644 index 8855687f4..000000000 --- a/tests/hello-test/qi.exp +++ /dev/null @@ -1,18 +0,0 @@ -Name : hello Distribution: RPM test suite. -Version : 1.0 Vendor: Red Hat Software -Release : 1 Build Date: Tue Mar 9 13:42:25 1999 -Install date: Tue Mar 9 13:42:30 1999 Build Host: sparc9.test.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/hello-test/../usr/doc/hello-1.0 -/home/devel/jbj/src/rpm/tests/hello-test/../usr/doc/hello-1.0/FAQ -/home/devel/jbj/src/rpm/tests/hello-test/../usr/local/bin/hello |