summaryrefslogtreecommitdiff
path: root/test/integration/test-ubuntu-bug-1876495-pkgnames-virtual
blob: 77d68e085862e2fc28fb6fb063f9cbd68508b14c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#!/bin/sh

set -e

TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'

insertinstalledpackage 'coolstuff' 'all' '1.0' 'Provides: virtual-package
Source: source-package'

setupaptarchive
changetowebserver

testsuccess aptget update -o Debug::Acquire::gpg=1
testsuccessequal "coolstuff
dpkg" aptcache pkgnames

testsuccessequal "source-package
coolstuff
dpkg" aptcache pkgnames --all-names