]> git.saurik.com Git - apt.git/blame - test/integration/test-very-tight-loop-configure-with-unpacking-new-packages
test/integration/test-apt-update-file: improve test
[apt.git] / test / integration / test-very-tight-loop-configure-with-unpacking-new-packages
CommitLineData
42d51f33
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64'
8
9# the difference between version 3 and 4 is the new package 'ure' which
10# we have to unpack before we start configuring parts of the loop
11insertinstalledpackage 'libreoffice' 'amd64' '3' 'Depends: libreoffice-core (= 3)'
12insertinstalledpackage 'libreoffice-core' 'amd64' '3' 'Depends: libreoffice-common (>= 3)'
13insertinstalledpackage 'libreoffice-common' 'all' '3' 'Depends: libreoffice-style
14Breaks: libreoffice-core (>= 3+), libreoffice-core (<= 3~), libreoffice-style-galaxy (>= 3+), libreoffice-style-galaxy (<= 3~)'
15insertinstalledpackage 'libreoffice-style-galaxy' 'amd64' '3' 'Depends: libreoffice-core
16Provides: libreoffice-style'
17
a7250ed0
DK
18insertpackage 'sid' 'libreoffice' 'amd64' '4' 'Depends: libreoffice-core (= 4)'
19insertpackage 'sid' 'libreoffice-core' 'amd64' '4' 'Depends: libreoffice-common (>= 4)
42d51f33 20Breaks: libreoffice-common (<< 4), libreoffice-style-galaxy (<< 4)'
a7250ed0 21insertpackage 'sid' 'libreoffice-common' 'all' '4' 'Depends: libreoffice-style, ure
42d51f33 22Breaks: libreoffice-core (>= 4+), libreoffice-core (<= 4~), libreoffice-style-galaxy (>= 4+), libreoffice-style-galaxy (<= 4~)'
a7250ed0 23insertpackage 'sid' 'libreoffice-style-galaxy' 'amd64' '4' 'Depends: libreoffice-core
42d51f33 24Provides: libreoffice-style'
a7250ed0 25insertpackage 'sid' 'ure' 'amd64' '4'
42d51f33
DK
26
27setupaptarchive
28
a7250ed0 29testequalor2 'Reading package lists...
42d51f33
DK
30Building dependency tree...
31The following NEW packages will be installed:
32 ure
33The following packages will be upgraded:
34 libreoffice libreoffice-common libreoffice-core libreoffice-style-galaxy
354 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
36Inst libreoffice [3] (4 sid [amd64]) []
37Inst libreoffice-style-galaxy [3] (4 sid [amd64]) [libreoffice-common:amd64 on libreoffice-style-galaxy:amd64] [libreoffice-common:amd64 ]
38Inst libreoffice-core [3] (4 sid [amd64]) [libreoffice-core:amd64 on libreoffice-common:amd64] [libreoffice-common:amd64 on libreoffice-core:amd64] [libreoffice-common:amd64 on libreoffice-style-galaxy:amd64] [libreoffice-common:amd64 ]
39Inst libreoffice-common [3] (4 sid [all]) []
40Inst ure (4 sid [amd64])
41Conf ure (4 sid [amd64])
42d51f33
DK
42Conf libreoffice-common (4 sid [all])
43Conf libreoffice-core (4 sid [amd64])
0caa5a4c 44Conf libreoffice-style-galaxy (4 sid [amd64])
a7250ed0
DK
45Conf libreoffice (4 sid [amd64])' 'Reading package lists...
46Building dependency tree...
47The following NEW packages will be installed:
48 ure
49The following packages will be upgraded:
50 libreoffice libreoffice-common libreoffice-core libreoffice-style-galaxy
514 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
52Inst libreoffice [3] (4 sid [amd64]) []
53Inst libreoffice-style-galaxy [3] (4 sid [amd64]) [libreoffice-common:amd64 on libreoffice-style-galaxy:amd64] [libreoffice-common:amd64 ]
54Inst libreoffice-core [3] (4 sid [amd64]) [libreoffice-common:amd64 on libreoffice-core:amd64] [libreoffice-common:amd64 on libreoffice-style-galaxy:amd64] [libreoffice-core:amd64 on libreoffice-common:amd64] [libreoffice-common:amd64 ]
55Inst libreoffice-common [3] (4 sid [all]) []
56Inst ure (4 sid [amd64])
57Conf ure (4 sid [amd64])
a7250ed0
DK
58Conf libreoffice-common (4 sid [all])
59Conf libreoffice-core (4 sid [amd64])
0caa5a4c 60Conf libreoffice-style-galaxy (4 sid [amd64])
42d51f33 61Conf libreoffice (4 sid [amd64])' aptget dist-upgrade -s