diff options
| author | David Kalnischkies <david@kalnischkies.de> | 2022-08-31 21:49:33 +0200 |
|---|---|---|
| committer | David Kalnischkies <david@kalnischkies.de> | 2022-09-02 16:55:45 +0200 |
| commit | 3498fbedafbf30e5c91deeaefa6a60d1e387593a (patch) | |
| tree | 45428464f191427a27b3d97a4ec601571aee70bd /test/integration/test-apt-cache | |
| parent | 49f9cfba5567cd034bf729a63b3f6e9badd9bc35 (diff) | |
Avoid dealing with a fake dpkg stanza in the tests
We needed a fake dpkg in our status file for dpkg --assert-multi-arch to
work in the past, but recent dpkg versions do not require this anymore,
so we can remove this somewhat surprising hackery in favour of better
hidden hackery we only use if we work with an older dpkg (e.g. on
current Debian stable).
Diffstat (limited to 'test/integration/test-apt-cache')
| -rwxr-xr-x | test/integration/test-apt-cache | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/integration/test-apt-cache b/test/integration/test-apt-cache index 56c3268fb..c003fba8c 100755 --- a/test/integration/test-apt-cache +++ b/test/integration/test-apt-cache @@ -22,9 +22,9 @@ Replaces: foo:i386 (<< 1)' "$DESCR" setupaptarchive -# dpkg is installed by our framework -testdpkginstalled 'dpkg' -testempty aptcache unmet dpkg +insertinstalledpackage 'awesome' 'all' '1' +testdpkginstalled 'awesome' +testempty aptcache unmet awesome # FIXME: Find some usecase for unmet as it seems kinda useless/broken #testsuccess aptcache unmet @@ -46,9 +46,9 @@ testsuccess aptcache dump cp rootdir/tmp/testsuccess.output dump.output testsuccess test -s dump.output -testsuccessequal 'dpkg -bar +testsuccessequal 'bar foo +awesome specific fancy' aptcache pkgnames testsuccessequal 'bar' aptcache pkgnames bar |
