diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-01 22:20:25 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-01 22:27:31 +0100 |
| commit | 12a3dfe6b86ca01ac2d643086b8f30e5b9189290 (patch) | |
| tree | cf4a8a5c60f90d338a01e3b61c8d229af5cd9fae /test/integration/test-apt-update-rollback | |
| parent | 32ff6f5f9de768536197ec803a7d0676512105e5 (diff) | |
test: Check "${METHODSDIR}/sqv" not "/usr/bin/sqv"
This is the correct check to find out whether we have built
with sqv support.
Diffstat (limited to 'test/integration/test-apt-update-rollback')
| -rwxr-xr-x | test/integration/test-apt-update-rollback | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-apt-update-rollback b/test/integration/test-apt-update-rollback index 68505f6ba..7a8f57abb 100755 --- a/test/integration/test-apt-update-rollback +++ b/test/integration/test-apt-update-rollback @@ -156,7 +156,7 @@ test_inrelease_to_unauth_inrelease() { signreleasefiles 'Marvin Paranoid' - if test -e /usr/bin/sqv; then + if test -e "${METHODSDIR}/sqv"; then # FIXME: Do not assert sqv output testwarningequal "W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: file:${APTARCHIVE} unstable InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key DE66AECA9151AFA1877EC31DE8525D47528144E2, which is needed to verify signature. W: Failed to fetch file:$APTARCHIVE/dists/unstable/InRelease Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key DE66AECA9151AFA1877EC31DE8525D47528144E2, which is needed to verify signature. |
