From Fedora Project Wiki

No edit summary
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case tests the functionality of the [[Features/ABRT|ABRT]] feature.
|description=This test case tests the functionality of the [[Features/ABRT|ABRT]] feature.
{{admon/important|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.}}
{{admon/important|This can be tested on released Fedora version (alfa, beta, gold) |This test case can't be tested on Rawhide or provided LiveCD because the packages are not properly signed in these distributions.}}
|actions=
|actions=
Edit config file  /etc/abrt/abrt.conf, where you should find lines:  
# Edit config file  /etc/abrt/abrt.conf, where you should find lines:  
<pre>
<pre>[ Common ]
[ Common ]
# With this option set to "yes",
# Enable GPG check
# only crashes in signed packages will be analyzed.
# this option is to ensure, that we primary report crashes only in fedora signed packages
# the list of public keys used to check the signature is
# if you disable this abrt will report crashes in customized unsigned packages
# in the file gpg_keys
 
OpenGPGCheck = yes</pre>
OpenGPGCheck = no
# Restart ABRT:  
</pre>
<pre># service abrtd restart</pre>
 
# Test crashing programs from Fedora package, from 3rd party package or your own package.
'''Please rename <code>EnableOpenGPG</code> to <code>OpenGPGCheck</code>''' (it is a mistake in the config file) and set it to ''yes'' or ''no''.
# The additional gpg keys (for some 3rd party repositories) can be added to /etc/abrt/gpg_keys
 
Restart ABRT: <pre># service abrt restart</pre>
 
Test crashing programs from Fedora package, from 3rd party package or your own package.
 
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).
|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 14:55, 31 March 2010

Description

This test case tests the functionality of the ABRT feature.

Important.png
This can be tested on released Fedora version (alfa, beta, gold)
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

  1. Edit config file /etc/abrt/abrt.conf, where you should find lines:
[ Common ]
 # With this option set to "yes",
 # only crashes in signed packages will be analyzed.
 # the list of public keys used to check the signature is
 # in the file gpg_keys
 OpenGPGCheck = yes
  1. Restart ABRT:
# service abrtd restart
  1. Test crashing programs from Fedora package, from 3rd party package or your own package.
  2. The additional gpg keys (for some 3rd party repositories) can be added to /etc/abrt/gpg_keys

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.