]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-753297-upgradable
Czech program translation update
[apt.git] / test / integration / test-bug-753297-upgradable
CommitLineData
d059cc26
MV
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'i386'
8
9cat > rootdir/etc/apt/preferences <<EOF
10Package: *
11Pin: release testing
12Pin-Priority: 600
13
14Package: *
15Pin: release unstable
16Pin-Priority: 1
17EOF
18
10e100e5 19insertpackage 'testing,installed' 'foo' 'all' '1'
d059cc26
MV
20insertpackage 'testing-updates' 'foo' 'all' '2'
21insertpackage 'unstable' 'foo' 'all' '3'
22
23insertinstalledpackage 'bar' 'all' '1'
24insertpackage 'testing' 'bar' 'all' '2'
25
26setupaptarchive
27
25b86db1 28testsuccessequal "Listing...
d059cc26
MV
29bar/testing 2 all [upgradable from: 1]" apt list --upgradable
30
25b86db1 31testsuccessequal "Listing...
d059cc26
MV
32bar/testing 2 all [upgradable from: 1]
33foo/testing,now 1 all [installed]" apt list