]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-590041-prefer-non-virtual-packages
integrate Anthonys rred with POC for client-side merge
[apt.git] / test / integration / test-bug-590041-prefer-non-virtual-packages
CommitLineData
8d876415
DK
1#!/bin/sh
2set -e
3
4. $(readlink -f $(dirname $0))/framework
5setupenvironment
ea65d079 6configarchitecture 'i386' 'armel'
8d876415
DK
7
8pkglibc6="Package: libc6
9Architecture: armel
10Version: 2.11.2-2~0.3
11Description: Embedded GNU C Library: Shared libraries
e3c62328 12Description-md5: b8c1e0561b75e2dc6b6482a99079c3e4
8d876415
DK
13Filename: pool/main/e/eglibc/libc6_2.11.2-2_armel.deb
14Installed-Size: 9740
15MD5sum: f5b878ce5fb8aa01a7927fa1460df537
16Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
17Priority: required
18SHA1: 0464d597dfbf949e8c17a42325b1f93fb4914afd
19SHA256: faca4a3d9ccff57568abf41f6cb81ddd835be7b5d8b0161e2d5f9a7f26aae3c0
20Section: libs
21Size: 4178958
22"
23
24pkglibdb1="Package: libdb1
25Architecture: i386
26Version: 2.1.3-13~0.3
27Replaces: libc6 (<< 2.2.5-13~0.3)
28Description: The Berkeley database routines [glibc 2.0/2.1 compatibility]
e3c62328 29Description-md5: de1876f7fe7f7709a110875e145e38a8
8d876415
DK
30Filename: pool/main/d/db1-compat/libdb1-compat_2.1.3-13_armel.deb
31Installed-Size: 136
32MD5sum: 4043f176ab2b40b0c01bc1211b8c103c
33Maintainer: Colin Watson <cjwatson@debian.org>
34Priority: extra
35SHA1: b9396fdd2e3e8d1d4ba9e74e7346075852d85666
36SHA256: f17decaa28d1db3eeb9eb17bebe50d437d293a509bcdd7cdfd3ebb56f5de3cea
37Section: oldlibs
38Size: 44168
39"
40
41cat <<-EOF >aptarchive/Packages
42$pkglibc6
43$pkglibdb1
44EOF
45
ce9864a8 46setupaptarchive
8d876415
DK
47
48testshowvirtual libc6:i386
49testequal "$pkglibc6" aptcache show libc6:armel
50testequal "$pkglibc6" aptcache show libc6
51testequal "$pkglibdb1" aptcache show libdb1:i386
52testnopackage libdb1:armel
53testequal "$pkglibdb1" aptcache show libdb1