From Fedora Project Wiki

No edit summary
No edit summary
Line 17: Line 17:


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>.
* 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;
# 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 09:29, 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

Set EnableOpenGPG 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.