From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
</pre> | </pre> | ||
'''Please rename <code>EnableOpenGPG</code> to <code>OpenGPGCheck</code>''' (it is a mistake in the config file) and set it to ''yes'' or ''no''. | |||
Restart ABRT: <pre># service abrt restart</pre> | Restart ABRT: <pre># service abrt restart</pre> |
Revision as of 09:33, 20 August 2009
Description
This test case tests the functionality of the ABRT feature.
How to test
Edit config file /etc/abrt/abrt.conf, where you should find lines:
[ Common ] # Enable GPG check # this option is to ensure, that we primary report crashes only in fedora signed packages # if you disable this abrt will report crashes in customized unsigned packages EnableOpenGPG = no
Please rename EnableOpenGPG
to OpenGPGCheck
(it is a mistake in the config file) and set it to yes or no.
Restart ABRT:
# service abrt restart
Test crashing programs from Fedora package, from 3rd party package or your own package.
- When using our LiveCD, you can use prepared tools
segfaulter
(which immediately crashes) andsleeper
(which sleeps and waits to be killed). They are from an unsigned packageabrt-test
. - When not using our LiveCD, you can add this repository:
wget -O /etc/yum.repos.d/abrt-test.repo http://dpravec.fedorapeople.org/repos/abrt-test/abrt-test.repo
and installabrt-test
package to get these tools.
Expected Results
- for yes, ABRT should ignore crashes of programs from unsigned packages;
- for no, ABRT should notice crashes of programs from unsigned packages.