diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2024-11-22 16:20:05 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2024-11-22 16:44:02 +0100 |
| commit | e983d98c4fcd952ffcbc010b185455913c8af650 (patch) | |
| tree | f5d7a1af28a1d137fa76821c84fa4cdab8bd0f17 /test/integration/test-apt-key | |
| parent | de3f663d823f9c185514af69296d011e22161479 (diff) | |
test: Ensure we test both gpgv-g10code and gpgv-sq
Diffstat (limited to 'test/integration/test-apt-key')
| -rwxr-xr-x | test/integration/test-apt-key | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-apt-key b/test/integration/test-apt-key index a1e633ca3..c2180c5f1 100755 --- a/test/integration/test-apt-key +++ b/test/integration/test-apt-key @@ -258,7 +258,7 @@ gpg: unchanged: 1' aptkey --fakeroot update msgtest 'Test verify a file' 'with no sig' testfailure --nomsg aptkey --quiet --readonly --keyring "${KEYDIR}/testcase-multikey.pub.${EXT}" verify "${SIGNATURE}" "${SIGNATURE}2" - for GPGV in '' 'gpgv' 'gpgv1' 'gpgv2'; do + for GPGV in '' 'gpgv' 'gpgv1' 'gpgv2' 'gpgv-sq' 'gpgv-g10code'; do echo "APT::Key::GPGVCommand \"$GPGV\";" > "${ROOTDIR}/etc/apt/apt.conf.d/00gpgvcmd" if [ -n "$GPGV" ] && ! command dpkg -l gnupg1 2>&1 | grep -q '^ii'; then continue; fi @@ -330,7 +330,7 @@ gpg: unchanged: 1' aptkey --fakeroot update adv --batch --yes -u 'Marvin' -u 'Joe' --armor --detach-sign --sign --output "${SIGNATURE}.gpg" "${SIGNATURE}" testsuccess test -s "${SIGNATURE}.gpg" -a -s "${SIGNATURE}" - for GPGV in '' 'gpgv' 'gpgv1' 'gpgv2'; do + for GPGV in '' 'gpgv' 'gpgv1' 'gpgv2' 'gpgv-sq' 'gpgv-g10code'; do echo "APT::Key::GPGVCommand \"$GPGV\";" > "${ROOTDIR}/etc/apt/apt.conf.d/00gpgvcmd" if [ -n "$GPGV" ] && ! command dpkg -l gnupg1 2>&1 | grep -q '^ii'; then continue; fi |
