This test case checks whether ABRT blacklisting of certain packages works correctly.
How to test
- Edit the config file
/etc/abrt/abrt.confand find the lines:
- # Blacklisted packages
- 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
- If changed anything, restart ABRT with the command
su -c 'service abrtd restart'
- Run - e.g. run
strace sleep 3m- and then kill the application from the newly blacklisted package with the command
kill -SIGSEGV $(strace_pid)
- ABRT should ignore the crash of the blacklisted application
- Look to
/var/log/messagesfor 'Corrupted or bad dump /var/spool/abrt/ccpp-... (res:2), deleting'