From Fedora Project Wiki
No edit summary |
(proof) |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case tests | |description=This test case tests that [[Features/ABRT|ABRT]]'s ability to report crashes only in signed packages works correctly. | ||
{{admon/important|This can | {{admon/important|This test case can run only with correctly signed packages.|This test case can't be run on Rawhide or Rawhide-based builds because the packages are not properly signed in these distributions.}} | ||
|actions= | |actions= | ||
# Edit config file | # Edit config file {{filename|/etc/abrt/abrt.conf}}, where you should find the lines: | ||
<pre>[ Common ] | <pre>[ Common ] | ||
# With this option set to "yes", | # With this option set to "yes", | ||
Line 10: | Line 10: | ||
# in the file gpg_keys | # in the file gpg_keys | ||
OpenGPGCheck = yes</pre> | OpenGPGCheck = yes</pre> | ||
# Restart ABRT | If this is set to ''no'', change it to ''yes''. | ||
# Restart ABRT with the command {{command|su -c service abrtd restart}}. | |||
# Test crashing programs from Fedora package, from | # Test crashing programs from Fedora package, from third party packages or your own package. | ||
# | # Additional GPG keys (for some third party repositories) can be added to {{filename|/etc/abrt/gpg_keys}}. | ||
# Repeat the tests with OpenGPGCheck set to ''no''. | |||
|results= | |results= | ||
# for ''yes'', ABRT should '''ignore''' crashes of programs from unsigned packages | # for ''yes'', ABRT should '''ignore''' crashes of programs from unsigned packages. | ||
# for ''no'', ABRT should '''notice''' crashes of programs from unsigned packages. | # for ''no'', ABRT should '''notice''' crashes of programs from unsigned packages. | ||
}} | }} | ||
[[Category:ABRT_Test_Cases]] | [[Category:ABRT_Test_Cases]] |
Revision as of 21:25, 31 March 2010
Description
This test case tests that ABRT's ability to report crashes only in signed packages works correctly.
How to test
- Edit config file
/etc/abrt/abrt.conf
, where you should find the lines:
[ Common ] # With this option set to "yes", # only crashes in signed packages will be analyzed. # the list of public keys used to check the signature is # in the file gpg_keys OpenGPGCheck = yes
If this is set to no, change it to yes.
- Restart ABRT with the command
su -c service abrtd restart
. - Test crashing programs from Fedora package, from third party packages or your own package.
- Additional GPG keys (for some third party repositories) can be added to
/etc/abrt/gpg_keys
. - Repeat the tests with OpenGPGCheck set to no.
Expected Results
- for yes, ABRT should ignore crashes of programs from unsigned packages.
- for no, ABRT should notice crashes of programs from unsigned packages.