From Fedora Project Wiki

(create crash catcher test case based on procedure provided by authors in test day page)
 
(edit the test case to match the current ABRT)
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case tests the functionality of the [[Features/CrashCatcher|Crash Catcher]] feature.
|description=This test case tests the functionality of the [[Features/ABRT|ABRT]] feature.
|actions=
|actions=
# Check that the ''crash-catcher'' and ''cc-applet'' processes are both running
# Check that the ''abrtd'' and ''abrt-applet'' processes are both running.
# Kill a running process: <tt>kill -SIGSEGV (pid)</tt>. It must be a process that is part of a signed Fedora package.
# Kill some running process: <tt>kill -SIGSEGV (pid)</tt>. It must be a process that is part of a signed Fedora package.
# Kill at least two different running processes.
{{admon/warning|When using a live image|Please don't kill large applications (e.g. Firefox), because the coredumps and downloaded debuginfo packages take large amount of space and it could exhaust all your available memory.}}
{{admon/tip|Good candidates|If you don't have your favorite package to crash here are few examples:
* bash
* sleep
* top }}
|results=
|results=
# The ''cc-applet'' system tray icon should start to flash
# The notification stating "A problem in in package foo-1.2.3 has been detected" should appear
# Clicking on the icon should give you an option to open a GUI
# Clicking the "Report" button should start the reporting wizard (no need to finish the report)
# The GUI should let you select and report the crash
}}
}}
[[Category:Test_Cases]]

Revision as of 08:33, 22 October 2012

Description

This test case tests the functionality of the ABRT feature.


How to test

  1. Check that the abrtd and abrt-applet processes are both running.
  2. Kill some running process: kill -SIGSEGV (pid). It must be a process that is part of a signed Fedora package.
  3. Kill at least two different running processes.
Warning.png
When using a live image
Please don't kill large applications (e.g. Firefox), because the coredumps and downloaded debuginfo packages take large amount of space and it could exhaust all your available memory.
Idea.png
Good candidates
If you don't have your favorite package to crash here are few examples:
  • bash
  • sleep
  • top

Expected Results

  1. The notification stating "A problem in in package foo-1.2.3 has been detected" should appear
  2. Clicking the "Report" button should start the reporting wizard (no need to finish the report)