diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-27 17:34:45 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-28 19:48:47 +0100 |
| commit | 4059a1544323b945a81e5ef0faea4a3b109f36bf (patch) | |
| tree | eb7cb387e75de057ef3e8cd56e00f13882ebc9a0 /test/integration | |
| parent | 9d7a660611e9e134cd6d74a594bde59cad77c8d8 (diff) | |
Make notices about .list sources without signed-by less obnoxious
Diffstat (limited to 'test/integration')
| -rwxr-xr-x | test/integration/test-apt-get-update-sourceslist-warning | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/test/integration/test-apt-get-update-sourceslist-warning b/test/integration/test-apt-get-update-sourceslist-warning index 7e27e4825..5a941dae6 100755 --- a/test/integration/test-apt-get-update-sourceslist-warning +++ b/test/integration/test-apt-get-update-sourceslist-warning @@ -46,14 +46,18 @@ msgmsg 'Detect login info embedded in sources.list' echo 'deb http://apt:debian@example.org/debian bookworm main' > rootdir/etc/apt/sources.list.d/example.list testsuccessequal "$BOILERPLATE N: Usage of apt_auth.conf(5) should be preferred over embedding login information directly in the sources.list(5) entry for 'http://example.org/debian' -N: Missing Signed-By in the sources.list(5) entry for 'http://example.org/debian' -N: Consider migrating all sources.list(5) entries to the deb822 .sources format -N: The deb822 .sources format supports both embedded as well as external OpenPGP keys -N: See apt-secure(8) for best practices in configuring repository signing." apt update --no-download +A: The sources.list(5) entry for 'http://example.org/debian' should be upgraded to deb822 .sources +A: Missing Signed-By in the sources.list(5) entry for 'http://example.org/debian' +A: Consider migrating all sources.list(5) entries to the deb822 .sources format +A: The deb822 .sources format supports both embedded as well as external OpenPGP keys +A: See apt-secure(8) for best practices in configuring repository signing. +N: Some sources can be modernized. Run 'apt modernize-sources' to do so." apt update --no-download --audit echo 'deb tor+https://apt:debian@example.org/debian bookworm main' > rootdir/etc/apt/sources.list.d/example.list testsuccessequal "$BOILERPLATE N: Usage of apt_auth.conf(5) should be preferred over embedding login information directly in the sources.list(5) entry for 'tor+https://example.org/debian' -N: Missing Signed-By in the sources.list(5) entry for 'tor+https://example.org/debian' -N: Consider migrating all sources.list(5) entries to the deb822 .sources format -N: The deb822 .sources format supports both embedded as well as external OpenPGP keys -N: See apt-secure(8) for best practices in configuring repository signing." apt update --no-download +A: The sources.list(5) entry for 'tor+https://example.org/debian' should be upgraded to deb822 .sources +A: Missing Signed-By in the sources.list(5) entry for 'tor+https://example.org/debian' +A: Consider migrating all sources.list(5) entries to the deb822 .sources format +A: The deb822 .sources format supports both embedded as well as external OpenPGP keys +A: See apt-secure(8) for best practices in configuring repository signing. +N: Some sources can be modernized. Run 'apt modernize-sources' to do so." apt update --no-download --audit |
