From Fedora Project Wiki

No edit summary
(proof)
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 that [[Features/ABRT|ABRT]]'s ability to report crashes only in signed packages works correctly.
{{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.}}
{{admon/important|This test case can run only with correctly signed packages.|This test case can't be run on Rawhide or Rawhide-based builds 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 {{filename|/etc/abrt/abrt.conf}}, where you should find the lines:  
<pre>[ Common ]
<pre>[ Common ]
  # With this option set to "yes",
  # With this option set to "yes",
Line 10: Line 10:
  # in the file gpg_keys
  # in the file gpg_keys
  OpenGPGCheck = yes</pre>
  OpenGPGCheck = yes</pre>
# Restart ABRT:
If this is set to ''no'', change it to ''yes''.
<pre># service abrtd restart</pre>
# Restart ABRT with the command {{command|su -c service abrtd restart}}.
# Test crashing programs from Fedora package, from 3rd party package or your own package.
# Test crashing programs from Fedora package, from third party packages or your own package.
# The additional gpg keys (for some 3rd party repositories) can be added to /etc/abrt/gpg_keys
# Additional GPG keys (for some third party repositories) can be added to {{filename|/etc/abrt/gpg_keys}}.
# Repeat the tests with OpenGPGCheck set to ''no''.
|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 21:25, 31 March 2010

Description

This test case tests that ABRT's ability to report crashes only in signed packages works correctly.

Important.png
This test case can run only with correctly signed packages.
This test case can't be run on Rawhide or Rawhide-based builds 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 the 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

If this is set to no, change it to yes.

  1. Restart ABRT with the command su -c service abrtd restart.
  2. Test crashing programs from Fedora package, from third party packages or your own package.
  3. Additional GPG keys (for some third party repositories) can be added to /etc/abrt/gpg_keys.
  4. Repeat the tests with OpenGPGCheck set to no.

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.