From Fedora Project Wiki
m (moved QA:Testcase ABRT Logger to QA:Testcase ABRT Logger plugin) |
No edit summary |
||
Line 4: | Line 4: | ||
# Ensure you have the plugin installed: | # Ensure you have the plugin installed: | ||
#: <pre>yum install abrt-plugin-logger</pre> | #: <pre>yum install abrt-plugin-logger</pre> | ||
# Edit <code>/etc/abrt/abrt.conf</code> and be sure the ''Logger'' plugin in the | # Edit <code>/etc/abrt/abrt.conf</code> and be sure the ''Logger'' plugin in the ''CCpp'' and ''Python'' sections. For example: | ||
#: <pre> | #: <pre> | ||
#: ... | #: ... | ||
#: CCpp = Bugzilla, Logger | #: CCpp = Bugzilla, Logger | ||
Line 17: | Line 15: | ||
# Kill a running process: <tt>kill -SIGSEGV (pid)</tt>. It must be a process that is part of a signed Fedora package | # Kill a 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'' | # Click on the panel applet to start ''abrt-gui'' | ||
# Select the entry matching the recently crashed application, then click on '''Report''' | # Select the entry matching the recently crashed application, then click on '''Report''', select Logger plugin. | ||
# At the report window, click '''Send''' | # At the report window, click '''Send''' | ||
|results= | |results= | ||
# After you click '''Send''', a notification window should report | # After you click '''Send''', a notification window should report: "Logger: Report was stored into: /var/log/abrt-logger" | ||
}} | }} | ||
[[Category:ABRT_Test_Cases]] | [[Category:ABRT_Test_Cases]] |
Revision as of 16:15, 31 March 2010
Description
This test case tests the functionality of the ABRT feature using the Logger plugin.
How to test
- Ensure you have the plugin installed:
yum install abrt-plugin-logger
- Edit
/etc/abrt/abrt.conf
and be sure the Logger plugin in the CCpp and Python sections. For example:- ...
- CCpp = Bugzilla, Logger
- Python = Bugzilla, Logger
- ...
- Restart ABRT:
# service abrt restart
- Confirm that the abrt and abrt-applet processes are both running
- Kill a running process: kill -SIGSEGV (pid). It must be a process that is part of a signed Fedora package
- Click on the panel applet to start abrt-gui
- Select the entry matching the recently crashed application, then click on Report, select Logger plugin.
- At the report window, click Send
Expected Results
- After you click Send, a notification window should report: "Logger: Report was stored into: /var/log/abrt-logger"