From Fedora Project Wiki

(convert to new category system)
(abrtd 2 changes)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case checks whether [[Features/ABRT|ABRT]] blacklisting of certain packages works correctly.
|description=This test case checks whether ABRT blacklisting of certain packages works correctly.
|actions=
|actions=
# Edit the config file {{filename|/etc/abrt/abrt.conf}} and find the lines:  
# Edit the config file {{filename|/etc/abrt/abrt.conf}} and find the lines:  
#:<pre>
#: # Blacklisted packages
#: # Blacklisted packages
#: BlackList = nspluginwrapper, valgrind, strace, avant-window-navigator
#: BlackList = nspluginwrapper,valgrind,strace,avant-window-navigator
#:</pre>
# Add a package whose application you can conveniently crash to the list or crash one from the current list
# Add a package whose application you can conveniently crash to the list
# If changed anything, restart ABRT with the command {{command|su -c 'service abrtd restart'}}
# Restart ABRT with the command {{command|su -c 'service abrtd restart'}}
# Run - e.g. run {{command|strace sleep 3m}} - and then kill the application from the newly blacklisted package with the command {{command|kill -SIGSEGV $(strace_pid)}}
# Run and then kill the application from the newly blacklisted package with the command {{command|kill -SIGSEGV (pid)}}
# Run and then kill a different application
|results=
|results=
# ABRT should ignore the crash of the blacklisted application, but report the crash of the non-blacklisted applications
# ABRT should ignore the crash of the blacklisted application
# Look to {{filename|/var/log/messages}} for ''
}}
}}


[[Category:Package_abrt_test_cases]]
[[Category:Package_abrt_test_cases]]

Revision as of 10:34, 15 March 2011

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:
    # Blacklisted packages
    BlackList = nspluginwrapper,valgrind,strace,avant-window-navigator
  2. Add a package whose application you can conveniently crash to the list or crash one from the current list
  3. If changed anything, restart ABRT with the command su -c 'service abrtd restart'
  4. Run - e.g. run strace sleep 3m - and then kill the application from the newly blacklisted package with the command kill -SIGSEGV $(strace_pid)

Expected Results

  1. ABRT should ignore the crash of the blacklisted application
  2. Look to /var/log/messages for