summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-08-05 23:25:39 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-08-05 23:25:39 +0200
commit5064019ed13dc0dfc33485e3fb4fac00a6deb5e5 (patch)
tree1897ee70041d3a66237d174b6adebbc9819c21e7 /tests/data
parent01bbbb019c6f215afc7e5a0f3d52edfbba9bcda2 (diff)
downloadpython-apt-5064019ed13dc0dfc33485e3fb4fac00a6deb5e5.tar.gz
tests/test_debfile.py: make it work on amd64, improve failure message
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test_debs/etc/apt/sources.list1
-rw-r--r--tests/data/test_debs/hello_2.5-1.dsc2
-rw-r--r--tests/data/test_debs/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_maverick_main_binary-i386_Packages31
3 files changed, 33 insertions, 1 deletions
diff --git a/tests/data/test_debs/etc/apt/sources.list b/tests/data/test_debs/etc/apt/sources.list
new file mode 100644
index 00000000..3cc95c73
--- /dev/null
+++ b/tests/data/test_debs/etc/apt/sources.list
@@ -0,0 +1 @@
+deb http://archive.ubuntu.com/ubuntu maverick main
diff --git a/tests/data/test_debs/hello_2.5-1.dsc b/tests/data/test_debs/hello_2.5-1.dsc
index 0a8d7b40..c079f2d3 100644
--- a/tests/data/test_debs/hello_2.5-1.dsc
+++ b/tests/data/test_debs/hello_2.5-1.dsc
@@ -9,7 +9,7 @@ Version: 2.5-1
Maintainer: Santiago Vila <sanvila@debian.org>
Homepage: http://www.gnu.org/software/hello
Standards-Version: 3.8.4
-Build-Depends: debhelper (>> 4.0.0), autotools-dev
+Build-Depends: autotools-dev
Checksums-Sha1:
dfaf92bfc8144141bcd5ffb4a30777cd57501bfa 582535 hello_2.5.orig.tar.gz
a98ab19072b35295ded3560721662131933f7c05 5965 hello_2.5-1.diff.gz
diff --git a/tests/data/test_debs/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_maverick_main_binary-i386_Packages b/tests/data/test_debs/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_maverick_main_binary-i386_Packages
new file mode 100644
index 00000000..b3b30d0d
--- /dev/null
+++ b/tests/data/test_debs/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_maverick_main_binary-i386_Packages
@@ -0,0 +1,31 @@
+Package: autotools-dev
+Priority: optional
+Section: devel
+Installed-Size: 216
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+Original-Maintainer: Henrique de Moraes Holschuh <hmh@debian.org>
+Architecture: all
+Version: 20100122.1
+Filename: pool/main/a/autotools-dev/autotools-dev_20100122.1_all.deb
+Size: 70700
+MD5sum: dc25cef0035a3fc7c64b9f2eeddac5d2
+SHA1: 40bcffb6bc2ec7aeaae747c300a0ad70ef3bb38c
+SHA256: 290aaf1d5d5a6c560a128b6fe5557fe981ebb85e105410f3bca2e468ce54aaac
+Description: Update infrastructure for config.{guess,sub} files
+ This package installs an up-to-date version of config.guess and
+ config.sub, used by the automake and libtool packages. It provides
+ the canonical copy of those files for other packages as well.
+ .
+ It also documents in /usr/share/doc/autotools-dev/README.Debian.gz
+ best practices and guidelines for using autoconf, automake and
+ friends on Debian packages. This is a must-read for any developers
+ packaging software that uses the GNU autotools, or GNU gettext.
+ .
+ Additionally this package provides seamless integration into Debhelper
+ or CDBS, allowing maintainers to easily update config.{guess,sub} files
+ in their packages.
+Enhances: cdbs, debhelper
+Homepage: http://savannah.gnu.org/projects/config/
+Bugs: https://bugs.launchpad.net/ubuntu/+filebug
+Origin: Ubuntu
+Supported: 18m