From Fedora Project Wiki

Revision as of 10:33, 20 August 2009 by Kparal (talk | contribs)

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.

  • When using our LiveCD, you can use prepared tools segfaulter (which immediately crashes) and sleeper (which sleeps and waits to be killed). They are from an unsigned package abrt-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 install abrt-test package to get these tools.

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.