]>
git.saurik.com Git - apt.git/blob - test/integration/test-apt-cli-list
47cfb624ae8132b080c67483c883e3cff8c50708
4 TESTDIR
=$(readlink -f $(dirname $0))
8 configarchitecture
"i386"
10 if [ ! -x ${BUILDDIRECTORY}/apt
]; then
11 msgmsg
"No ${BUILDDIRECTORY}/apt"
16 insertpackage
'unstable' 'foo' 'all' '1.0'
17 insertinstalledpackage
'bar' 'i386' '1.0'
19 insertinstalledpackage
'foobar' 'i386' '1.0'
20 insertpackage
'unstable' 'foobar' 'i386' '2.0'
24 APTARCHIVE
=$(readlink -f ./aptarchive)
27 bar/now 1.0 i386 [installed,local]
29 foobar/unstable 2.0 i386 [upgradable from: 1.0]" apt list
33 foobar/unstable 2.0 i386 [upgradable from: 1.0]" apt list
"foo*"
36 foobar/unstable 2.0 i386 [upgradable from: 1.0]" apt list
--upgradable
38 # FIXME: hm, hm - does it make sense to have this different? shouldn't
39 # we use "installed,upgradable" consitently?
41 bar/now 1.0 i386 [installed,local]
42 foobar/now 1.0 i386 [installed,upgradable to: 2.0]" apt list
--installed
45 foobar/unstable 2.0 i386 [upgradable from: 1.0]
46 foobar/now 1.0 i386 [installed,upgradable to: 2.0]
47 " apt list foobar
--all-versions
50 bar/now 1.0 i386 [installed,local]
51 an autogenerated dummy bar=1.0/installed
52 " apt list bar
--verbose