QA:Testcase ABRT third party event extension

From FedoraProject

Jump to: navigation, search

Description

This test case tests EVENT configuration in ABRT.


How to test

  1. Create a file /etc/abrt/events.d/3rd-party.conf with content:
    EVENT=post-create echo "Custom 3rd party configuration was used" > /tmp/3rd-party-notice.$(date +"%Y-%m-%d_%H:%M:%N")
  2. Restart abrtd: su -c 'systemctl restart abrtd.service'
  3. Crash a running application with kill -SIGSEGV (pid) or pkill -SIGSEGV (processname)

Expected Results

  1. A file 3rd-party-notice.* with text above should exist in /tmp