test: improve gpgconf tests.
Some checks are pending
Ubuntu / build (default, ubuntu-22.04) (push) Waiting to run
Ubuntu / build (default, ubuntu-24.04) (push) Waiting to run
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Waiting to run
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Waiting to run
Ubuntu / tests (push) Blocked by required conditions

This commit is contained in:
Alexandre Pujol 2024-10-22 00:53:50 +01:00
parent cca8e6508f
commit d7521b36df
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -26,8 +26,23 @@ setup_file() {
gpgconf --list-options gpg
gpgconf --list-options gpgsm
gpgconf --list-options gpg-agent
gpgconf --list-options scdaemon
gpgconf --list-options scdaemon || true
gpgconf --list-options dirmngr
aa_check
}
# bats test_tags=gpgconf
@test "gpgconf: List programs and test whether they are runnable" {
gpgconf --check-programs || true
aa_check
}
# bats test_tags=gpgconf
@test "gpgconf: Reload a component" {
gpgconf --reload gpg
gpgconf --reload gpgsm
gpgconf --reload gpg-agent
gpgconf --reload scdaemon || true
gpgconf --reload dirmngr
aa_check
}