From Fedora Project Wiki

(proof)
(drop the stuff about third party repos, as there's a separate test for that. reword a bit for clarity)
Line 12: Line 12:
If this is set to ''no'', change it to ''yes''.
If this is set to ''no'', change it to ''yes''.
# Restart ABRT with the command {{command|su -c service abrtd restart}}.
# Restart ABRT with the command {{command|su -c service abrtd restart}}.
# Test crashing programs from Fedora package, from third party packages or your own package.
# Test crashing programs from official (hence signed) packages, and from unsigned packages or non-packaged programs.
# 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''.
# 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 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:ABRT_Test_Cases]]

Revision as of 21:36, 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 official (hence signed) packages, and from unsigned packages or non-packaged programs.
  3. 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.