From Fedora Project Wiki

(minor cleanup)
Line 6: Line 6:
 
#: BlackList = nspluginwrapper,valgrind,strace,avant-window-navigator
 
#: BlackList = nspluginwrapper,valgrind,strace,avant-window-navigator
 
# 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 or crash one from the current list
# If changed anything, restart ABRT with the command {{command|su -c 'service abrtd restart'}}
+
# Restart abrt with the command {{command|su -c 'systemctl restart abrtd.service'}}
# 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 one of the blacklisted commands - 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)}}
 
|results=
 
|results=
 
# ABRT should ignore the crash of the blacklisted application
 
# ABRT should ignore the crash of the blacklisted application

Revision as of 17:04, 29 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. Restart abrt with the command su -c 'systemctl restart abrtd.service'
  4. Run one of the blacklisted commands - 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 'abrt[6443]: saved core dump of pid 6428 (/usr/bin/strace)' and 'Corrupted or bad dump /var/spool/abrt/ccpp-... (res:2), deleting'