test: install binaries from local d/control file
authorLuca Boccassi <bluca@debian.org>
Sun, 14 Feb 2021 19:29:42 +0000 (19:29 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 15 Feb 2021 09:17:39 +0000 (10:17 +0100)
commit7eba0c50f51ecd44df56f5e6e6d9e7ecd573eefb
tree152c70e6a15b88caec291301728fb13f426f8013
parent92ef9e568b28dd67f67445f4350a0fdd65b2b169
test: install binaries from local d/control file

The source package in the apt cache might be older than the
packaging from salsa.debian.org/systemd-team/systemd so it might not
list all the current binary packages.
This is currently the case for systemd-timesyncd, so TEST-30 fails.

Simply grep the control file rather than using apt-cache when iterating
over the packages contents.
test/test-functions