From Fedora Project Wiki

No edit summary
No edit summary
Line 19: Line 19:
Test crashing programs from Fedora package, from 3rd party package or your own package.
Test crashing programs from Fedora package, from 3rd party package or your own package.


* When using our LiveCD, you can use prepared tools <code>segfaulter</code> (which immediately crashes) and <code>sleeper</code> (which sleeps and waits to be killed). They are from an '''unsigned''' package <code>abrt-test</code>.
To test it easily you can add this repository: <pre>wget -O /etc/yum.repos.d/abrt-test.repo http://dpravec.fedorapeople.org/repos/abrt-test/abrt-test.repo</pre> and install <code>abrt-test</code> package (which is unsigned) to get tools <code>segfaulter</code> (which immediately crashes) and <code>sleeper</code> (which sleeps and waits to be killed).
* When not using our LiveCD, you can add this repository: <pre>wget -O /etc/yum.repos.d/abrt-test.repo http://dpravec.fedorapeople.org/repos/abrt-test/abrt-test.repo</pre> and install <code>abrt-test</code> package to get these tools.
|results=
|results=
# for ''yes'', ABRT should '''ignore''' crashes of programs from unsigned packages;
# for ''yes'', ABRT should '''ignore''' crashes of programs from unsigned packages;

Revision as of 10:42, 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

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.

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.