From Fedora Project Wiki

Line 4: Line 4:
 
# Ensure you have the plugin installed with the command {{command|su -c 'yum install libreport-plugin-logger'}}
 
# Ensure you have the plugin installed with the command {{command|su -c 'yum install libreport-plugin-logger'}}
 
# Confirm that the ''abrtd'' and ''abrt-applet'' processes are both running
 
# Confirm that the ''abrtd'' and ''abrt-applet'' processes are both running
# Kill a running process with the command {{command|kill -SIGSEGV (pid)}}. 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.
# Click on the panel applet to start ''abrt-gui''
+
# The ''abrt-applet'' system tray icon should emerge with notification stating "Crash in package foo-1.2.3 has been detected"
 +
# Click on the notification should to open ''abrt-gui''
 
# Select the entry matching the recently crashed application, then click on '''Open'''
 
# Select the entry matching the recently crashed application, then click on '''Open'''
# When you reach reporter selector page, select '''Logger'''  
+
# When you reach reporter selector page, select '''Logger'''
 
# Use "Preferences" button in the same window to change log file path. The file does not have to exist, it will be created
 
# Use "Preferences" button in the same window to change log file path. The file does not have to exist, it will be created
 
# Click through to the last window of the wizard
 
# Click through to the last window of the wizard

Revision as of 16:03, 22 September 2011

Description

This test case tests the functionality of the ABRT feature using the Logger reporting plugin.


How to test

  1. Ensure you have the plugin installed with the command su -c 'yum install libreport-plugin-logger'
  2. Confirm that the abrtd and abrt-applet processes are both running
  3. Kill some running process: kill -SIGSEGV (pid). It must be a process that is part of a signed Fedora package.
  4. The abrt-applet system tray icon should emerge with notification stating "Crash in package foo-1.2.3 has been detected"
  5. Click on the notification should to open abrt-gui
  6. Select the entry matching the recently crashed application, then click on Open
  7. When you reach reporter selector page, select Logger
  8. Use "Preferences" button in the same window to change log file path. The file does not have to exist, it will be created
  9. Click through to the last window of the wizard

Expected Results

  1. After you finish the steps in wizard at the last screen you should see "The report was stored/appended to <FILENAME>"
  2. Open the log file and see if crash information is in it and is well-formatted