From Fedora Project Wiki

No edit summary
No edit summary
Line 10: Line 10:
# if you disable this abrt will report crashes in customized unsigned packages
# if you disable this abrt will report crashes in customized unsigned packages


EnableOpenGPG = no
OpenGPGCheck = no
</pre>
</pre>



Revision as of 12:26, 20 August 2009

Description

This test case tests the functionality of the ABRT feature.

This can be tested on Fedora 11 only
This test case can't be tested on Rawhide or provided LiveCD because the packages are not properly signed in these distributions.


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

OpenGPGCheck = 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.

To test it easily 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 install abrt-test package (which is unsigned) to get tools segfaulter (which immediately crashes) and sleeper (which sleeps and waits to be killed).

Expected Results

  1. for yes, ABRT should ignore crashes of programs from unsigned packages;
  2. for no, ABRT should notice crashes of programs from unsigned packages.