From Fedora Project Wiki

No edit summary
(proof)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=Testing [[Features/ABRT|ABRT]] BlackListing of certain packages.
|description=This test case checks whether [[Features/ABRT|ABRT]] blacklisting of certain packages works correctly.
|actions=
|actions=
Edit config file /etc/abrt/abrt.conf, find lines:  
# Edit the config file {{filename|/etc/abrt/abrt.conf}} and find the lines:  
<pre>
#:<pre>
# blacklisted packages
#:# Blacklisted packages
BlackList = bash, bind, apache2
#:BlackList = nspluginwrapper, valgrind, strace, avant-window-navigator
</pre>
#:</pre>
 
# Add a package whose application you can conveniently crash to the list
Set ''BlackList'' to names of packages whose crashes ABRT should ignore.
# Restart ABRT with the command{{su -c 'service abrtd restart'}}
 
# Run and then kill the application from the newly blacklisted package with the command {{command|kill -SIGSEGV (pid)}}
Restart ABRT: <pre># service abrtd restart</pre>
# Run and then kill a different application
 
Crash applications and watch if they are ignored according to configuration.
 
|results=
|results=
# ABRT should ignore crashes of applications from blacklisted packages
# ABRT should ignore the crash of the blacklisted application, but report the crash of the non-blacklisted applications
# The rest of non-blocked packages should be reported w.r.t. GPG check set up done in [[QA:Testcase ABRT GPG check]] and [[QA:TestCase ABRT GPG Keys]] test cases (only if you went through them already).
}}
}}


[[Category:ABRT_Test_Cases]]
[[Category:ABRT_Test_Cases]]

Revision as of 04:48, 1 April 2010

Description

This test case checks whether ABRT blacklisting of certain packages works correctly.


How to test

  1. Edit the config file /etc/abrt/abrt.conf and find the lines:
    1. Blacklisted packages
    BlackList = nspluginwrapper, valgrind, strace, avant-window-navigator
  2. Add a package whose application you can conveniently crash to the list
  3. Restart ABRT with the commandTemplate:Su -c 'service abrtd restart'
  4. Run and then kill the application from the newly blacklisted package with the command kill -SIGSEGV (pid)
  5. Run and then kill a different application

Expected Results

  1. ABRT should ignore the crash of the blacklisted application, but report the crash of the non-blacklisted applications