mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-25 06:27:49 +01:00
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
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:
parent
cca8e6508f
commit
d7521b36df
1 changed files with 16 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue