summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-10-17 00:26:57 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-11-04 18:04:02 +0100
commit631800b139834947b21c49153ba7862b1f4e6984 (patch)
tree394a0ad9c169b3f3cb0ab4bb92cb58d61895dcd4 /test
parent501cd23e1e85e59d18e883496a0d7f7576778054 (diff)
move 'search' implementations as well
Git-Dch: Ignore
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-cli-list13
1 files changed, 5 insertions, 8 deletions
diff --git a/test/integration/test-apt-cli-list b/test/integration/test-apt-cli-list
index d3c44e126..1e9ef871c 100755
--- a/test/integration/test-apt-cli-list
+++ b/test/integration/test-apt-cli-list
@@ -7,12 +7,6 @@ TESTDIR=$(readlink -f $(dirname $0))
setupenvironment
configarchitecture "i386"
-if [ ! -x ${BUILDDIRECTORY}/apt ]; then
- msgmsg "No ${BUILDDIRECTORY}/apt"
- msgskip
- exit 0
-fi
-
insertpackage 'unstable' 'foo' 'all' '1.0'
insertinstalledpackage 'bar' 'i386' '1.0'
@@ -25,8 +19,6 @@ insertpackage 'unstable' 'baz' 'all' '2.0'
setupaptarchive
-APTARCHIVE=$(readlink -f ./aptarchive)
-
testsuccessequal "Listing...
bar/now 1.0 i386 [installed,local]
baz/unstable 2.0 all [upgradable from: 0.1]
@@ -69,6 +61,11 @@ conf-only/now 1.0 i386 [residual-config]" apt list conf-only
testsuccessequal "Listing...
baz/unstable 2.0 all [upgradable from: 0.1]
N: There are 2 additional versions. Please use the '-a' switch to see them." apt list baz -o quiet=0
+testsuccessequal 'Listing...
+baz/unstable 2.0 all [upgradable from: 0.1]
+baz/testing 1.0 all
+baz/now 0.1 all [installed,upgradable to: 2.0]
+' apt list baz -o quiet=0 -a
# test format strings for machine parseable output
testsuccessequal 'bar - 1.0 - 1.0