4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'amd64'
9 insertpackage
'unstable' 'cool-foo' 'amd64' '1.0' 'Depends: foo'
10 insertpackage
'unstable' 'foo' 'amd64' '1.0' 'Multi-Arch: foreign'
11 insertinstalledpackage
'cool-foo' 'amd64' '1.0' 'Depends: foo'
12 insertinstalledpackage
'foo' 'amd64' '1.0' 'Multi-Arch: foreign'
16 testsuccess aptget check
-s
18 configarchitecture
'amd64' 'i386'
19 testequal
'E: The package cache was built for different architectures: amd64 vs amd64,i386' aptget check
-s -o pkgCacheFile
::Generate
=false
21 testsuccess aptget check
-s
23 insertinstalledpackage
'awesome-foo' 'i386' '1.0' 'Depends: foo'
25 testsuccess aptget check
-s
27 testsuccess aptget update
--no-download
29 testsuccess aptget check
-s