]>
git.saurik.com Git - apt.git/blob - test/integration/test-bug-745036-new-foreign-invalidates-cache
4 TESTDIR
="$(readlink -f "$(dirname "$0")")"
7 configarchitecture 'amd64'
9 insertpackage 'unstable,installed' 'cool-foo' 'amd64' '1.0' 'Depends: foo'
10 insertpackage 'unstable,installed' 'foo' 'amd64' '1.0' 'Multi-Arch: foreign'
14 testsuccess aptget check -s
16 configarchitecture 'amd64' 'i386'
17 testfailureequal 'E: The package cache was built for different architectures: amd64 vs amd64,i386' aptget check -s -o pkgCacheFile::Generate=false
19 testsuccess aptget check -s
21 insertinstalledpackage 'awesome-foo' 'i386' '1.0' 'Depends: foo'
23 testsuccess aptget check -s
25 testsuccess aptget update --no-download
27 testsuccess aptget check -s