From Fedora Project Wiki

(proof)
(convert to new category system)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{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.}}
{{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 {{filename|/etc/abrt/abrt.conf}}, where you should find the lines:
# Edit config file {{filename|/etc/abrt/abrt.conf}}, and ensure OpenGPGCheck is set to ''yes''.
<pre>[ Common ]
# Restart ABRT with the command {{command|su -c 'service abrtd restart'}}.
# With this option set to "yes",
# Test crashing programs from official (hence signed) packages, and from unsigned packages or non-packaged programs.
# 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</pre>
If this is set to ''no'', change it to ''yes''.
# 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.
# 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: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.