forked from pulp/pulp_deb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Add initial source package tests
[noissue] related to: pulp#409 (was https://pulp.plan.io/issues/8775) Extend the tests fixture to include source indicies and an example (hello) source package composed of an orig.tar.gz, DSC file and debian.tar.xz. The 'test_sync' test which already does sync tests on a remote repo with and without installer (udeb) packages is extended to perform a new round of testing which will include source packages. This is a minimum set of tests for the new source package support. Future commits will expand the testing of source package support. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
- Loading branch information
1 parent
6e8c545
commit c4eb410
Showing
17 changed files
with
187 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
pulp_deb/tests/functional/data/debian/dists/ragnarok/Release.gpg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
-----BEGIN PGP SIGNATURE----- | ||
|
||
iQEzBAABCAAdFiEEbt8wElZIC5uAHro9BaXm2iadnZgFAmPSi8wACgkQBaXm2iad | ||
nZhZ+wgAkMYfPALeb2q4bBQedLm7mebXxWiW6JuPmkz51V6e5sluWJA7Yfe/VmJC | ||
xqggHNa0AnQ7F730PK6a8bnvFxFHr1MrT4eJxT+1P32c9PUf1nUrv3oAwTCgKifX | ||
Crk/FodEgUJFrwWWpp4RHAVWZlN0P0bLdFUmLsNPmxciExm/xYpHnerIyK7maTOI | ||
UwMb+vM5ZIBnIS1t/7D5oa+OcKTrMKbbLch4hXmYkvbCq0dLnTd+tcO8TX+8avrh | ||
+S1KLGJMmW0BPIr2MMS8Tiehf398ffcgYOGFjir8S6NcLzRaWibk3KF48+cECP/z | ||
Ixpp/N6bAT+4CH1bfUWOnGt25e30Tw== | ||
=b9pr | ||
iQEzBAABCAAdFiEEbt8wElZIC5uAHro9BaXm2iadnZgFAmQkeWwACgkQBaXm2iad | ||
nZhFkwgAkLsbSn7tkxHdl3j3fdiFQwV0wjO5R3TJw0LwPrdHFDmW5kfrIx0NLyYK | ||
NL00EJbQ99wsysyA7RTYb/IQUa2gyOxGdcFb8mWqaZH4ilF0+EsKoSW5tt+vqza/ | ||
TTx8uMuOKqppCL2ITAXgnpkbiUu/u+yBoUaDcyt0w8SRBx+Annd3zGb3enCnY7TM | ||
+cXxp2bu0zB1k1zNsU4BTkNZJaE0xVWmnaI2n81aKv7VZCEyJfW5acdr788d17sy | ||
ZGyX7lBI38+d9P+MPaPLCnQroMQpiZ/3J8gseSKbpHMbOXPXM68dubqtg6BMN9WK | ||
Vm9/7S+u72lzV+40Kfa7v5kBT/RdRw== | ||
=EDi7 | ||
-----END PGP SIGNATURE----- |
7 changes: 7 additions & 0 deletions
7
pulp_deb/tests/functional/data/debian/dists/ragnarok/asgard/source/Release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Origin: upstream ragnarok | ||
Label: upstream ragnarok | ||
Archive: ragnarok | ||
Suite: ragnarok | ||
Codename: ragnarok | ||
Architecture: source | ||
Component: asgard |
31 changes: 31 additions & 0 deletions
31
pulp_deb/tests/functional/data/debian/dists/ragnarok/asgard/source/Sources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Package: hello | ||
Binary: hello | ||
Version: 2.10-2ubuntu4 | ||
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> | ||
Original-Maintainer: Santiago Vila <sanvila@debian.org> | ||
Build-Depends: debhelper-compat (= 9) | ||
Architecture: any | ||
Standards-Version: 4.3.0 | ||
Format: 3.0 (quilt) | ||
Directory: pool/asgard/h/hello | ||
Files: | ||
43f8fd6bd1aef52786beb6e171368ecf 6832 hello_2.10-2ubuntu4.debian.tar.xz | ||
c9766c32fececc15fb0e0f397e858da2 1465 hello_2.10-2ubuntu4.dsc | ||
6cd0ffea3884a4e79330338dcc2987d6 725946 hello_2.10.orig.tar.gz | ||
Checksums-Sha1: | ||
ce06556db96050340cc26a5c5b563bdc57d46f0e 6832 hello_2.10-2ubuntu4.debian.tar.xz | ||
4dea94ca1d01d8903a6afa3bd75ffa01f2739117 1465 hello_2.10-2ubuntu4.dsc | ||
f7bebf6f9c62a2295e889f66e05ce9bfaed9ace3 725946 hello_2.10.orig.tar.gz | ||
Checksums-Sha256: | ||
1fd3b7bdee98c1314a43700f42fc0df8a06e194eda40117d096c8e26f5198a8a 6832 hello_2.10-2ubuntu4.debian.tar.xz | ||
47ec81bf3c2c5d6d9e05cf5f3ad764b21483313b30217cab55855363fe516880 1465 hello_2.10-2ubuntu4.dsc | ||
31e066137a962676e89f69d1b65382de95a7ef7d914b8cb956f41ea72e0f516b 725946 hello_2.10.orig.tar.gz | ||
Checksums-Sha512: | ||
0e324a69a58c05dcc7c271a0927bac94d120fd405eb52c71fdbd3ee4a9f4dc0ae06d46659dee060493d260c91404111a51f6fb768ce45b3ee8c4915d9a639afe 6832 hello_2.10-2ubuntu4.debian.tar.xz | ||
d4947f9c0189cf3979d91bc87d14ab9dcdb2a12a937d8f2d4844daaa0dbdec50e3ffbd53b5d19e1a2695a5fde43ab9a79acff18489cd01c41544aac8f211bc55 1465 hello_2.10-2ubuntu4.dsc | ||
e301d785135c52575a8b4c35994c0316f8d366451f604eb5e74c1f907077502aebd5a1a32cd1e26cd7ca32c22f4de5623a335f8ae7e735ac977420df664f01de 725946 hello_2.10.orig.tar.gz | ||
Homepage: http://www.gnu.org/software/hello/ | ||
Package-List: | ||
hello deb devel optional arch=any | ||
Testsuite: autopkgtest | ||
|
Binary file added
BIN
+990 Bytes
pulp_deb/tests/functional/data/debian/dists/ragnarok/asgard/source/Sources.bz2
Binary file not shown.
Binary file added
BIN
+917 Bytes
pulp_deb/tests/functional/data/debian/dists/ragnarok/asgard/source/Sources.gz
Binary file not shown.
7 changes: 7 additions & 0 deletions
7
pulp_deb/tests/functional/data/debian/dists/ragnarok/jotunheimr/source/Release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Origin: upstream ragnarok | ||
Label: upstream ragnarok | ||
Archive: ragnarok | ||
Suite: ragnarok | ||
Codename: ragnarok | ||
Architecture: source | ||
Component: jotunheimr |
Empty file.
Binary file added
BIN
+14 Bytes
pulp_deb/tests/functional/data/debian/dists/ragnarok/jotunheimr/source/Sources.bz2
Binary file not shown.
Binary file added
BIN
+25 Bytes
pulp_deb/tests/functional/data/debian/dists/ragnarok/jotunheimr/source/Sources.gz
Binary file not shown.
Binary file added
BIN
+6.67 KB
pulp_deb/tests/functional/data/debian/pool/asgard/h/hello/hello_2.10-2ubuntu4.debian.tar.xz
Binary file not shown.
37 changes: 37 additions & 0 deletions
37
pulp_deb/tests/functional/data/debian/pool/asgard/h/hello/hello_2.10-2ubuntu4.dsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
-----BEGIN PGP SIGNED MESSAGE----- | ||
Hash: SHA512 | ||
|
||
Format: 3.0 (quilt) | ||
Source: hello | ||
Binary: hello | ||
Architecture: any | ||
Version: 2.10-2ubuntu4 | ||
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> | ||
Homepage: http://www.gnu.org/software/hello/ | ||
Standards-Version: 4.3.0 | ||
Testsuite: autopkgtest | ||
Build-Depends: debhelper-compat (= 9) | ||
Package-List: | ||
hello deb devel optional arch=any | ||
Checksums-Sha1: | ||
f7bebf6f9c62a2295e889f66e05ce9bfaed9ace3 725946 hello_2.10.orig.tar.gz | ||
ce06556db96050340cc26a5c5b563bdc57d46f0e 6832 hello_2.10-2ubuntu4.debian.tar.xz | ||
Checksums-Sha256: | ||
31e066137a962676e89f69d1b65382de95a7ef7d914b8cb956f41ea72e0f516b 725946 hello_2.10.orig.tar.gz | ||
1fd3b7bdee98c1314a43700f42fc0df8a06e194eda40117d096c8e26f5198a8a 6832 hello_2.10-2ubuntu4.debian.tar.xz | ||
Files: | ||
6cd0ffea3884a4e79330338dcc2987d6 725946 hello_2.10.orig.tar.gz | ||
43f8fd6bd1aef52786beb6e171368ecf 6832 hello_2.10-2ubuntu4.debian.tar.xz | ||
Original-Maintainer: Santiago Vila <sanvila@debian.org> | ||
|
||
-----BEGIN PGP SIGNATURE----- | ||
|
||
iQEzBAEBCgAdFiEEqx+XcX7ftBm4bj5/AhnKGdA0MwwFAmI7J1gACgkQAhnKGdA0 | ||
MwzXIQgAkmOdM1IKmE7R/mLSPQuTR0NI1h0/8glf9sgi5mX3EgBvyreDumNXLJK7 | ||
S4KV1JLZ1pd6fmwxFFm5jwWve5R5Jb1EUt5bJFUtWVQtz2E9G9CeWPuzKpXdHx44 | ||
OcpB5dk10XZCSHiNTy6o9FvdKfeqNyUJK19HnvmBp2XFgs4QgXNpmU9Ys+4NrMDE | ||
H3/3JOaqPtAYU9l2yi9txQfzr778nJ3/vwOWXqpDbeSi7NCjb4/6dkv1i7b4JOD4 | ||
mN3ejf6lZxq3rcNCFKRFIujwVH52YcEci5CkCAzKD1EMgd4Nb0GfJ1Hqaen6TDQL | ||
E8eh2tpBiKkVcIhDbYdT4Bf/rGFzqQ== | ||
=x/WD | ||
-----END PGP SIGNATURE----- |
Binary file added
BIN
+709 KB
pulp_deb/tests/functional/data/debian/pool/asgard/h/hello/hello_2.10.orig.tar.gz
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters