From Fedora Project Wiki

Revision as of 18:07, 29 March 2011 by Adamwill (talk | contribs) (clean up)

Description

This test case checks whether sosreport cooperates with ABRT correctly.


How to test

  1. Ensure the sos package is installed with the command su -c 'yum install sos'
  2. Edit the config file /etc/abrt/abrt_event.conf, and comment out lines
    #EVENT=post-create
    nice sosreport --tmp-dir "$DUMP_DIR" --batch \
    [...]
  3. Restart the abrtd service: su -c 'systemctl restart abrtd.service'
  4. Crash a running application, with the command pkill -SIGSEGV (appname)
  5. Wait for a crash notification to appear: it might take some time (~20 s) before the icon appears, as it waits for sosreport to finish

Expected Results

  1. Step #1 completes without error
  2. The system boots into runlevel 5
  3. Program completes with exit code 0