From Fedora Project Wiki

No edit summary
(convert to new category system)
 
(14 intermediate revisions by 6 users not shown)
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 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}}, and ensure OpenGPGCheck is set to ''yes''.
<pre>
# Restart ABRT with the command {{command|su -c 'service abrtd restart'}}.
[ Common ]
# Test crashing programs from official (hence signed) packages, and from unsigned packages or non-packaged programs.
# Enable GPG check
# Repeat the tests with OpenGPGCheck set to ''no''.
# 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
</pre>
 
Set ''EnableOpenGPG'' to ''yes'' or ''no'' and test crashing programs from fedora package, from 3rd party package or your own compiled one.
|results=
|results=
# for ''yes'', ABRT should ignore crashes of programs from unsigned packages;
# for ''yes'', ABRT should '''ignore''' crashes of programs not from signed packages.
# for ''no'',  ABRT should notice crashes of programs from unsigned packages.
# for ''no'',  ABRT should '''notice''' crashes of programs not from signed packages.
}}
}}
[[Category:ABRT_Test_Cases]]
[[Category:Package_abrt_test_cases]]

Latest revision as of 16:17, 13 January 2011

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, and ensure OpenGPGCheck is set to yes.
  2. Restart ABRT with the command su -c 'service abrtd restart'.
  3. Test crashing programs from official (hence signed) packages, and from unsigned packages or non-packaged programs.
  4. Repeat the tests with OpenGPGCheck set to no.

Expected Results

  1. for yes, ABRT should ignore crashes of programs not from signed packages.
  2. for no, ABRT should notice crashes of programs not from signed packages.