From Fedora Project Wiki
No edit summary |
(proof a bit) |
||
Line 2: | Line 2: | ||
|description=This test case tests the functionality of the [[Features/ABRT|ABRT]] feature using the ''Logger'' plugin. | |description=This test case tests the functionality of the [[Features/ABRT|ABRT]] feature using the ''Logger'' plugin. | ||
|actions= | |actions= | ||
# Ensure you have the plugin installed | # Ensure you have the plugin installed with the command {{command|su -c yum install abrt-plugin-logger}} | ||
# Edit {{filename|/etc/abrt/abrt.conf}} and be sure the ''Logger'' plugin is enabled in the ''CCpp'' and ''Python'' sections. For example: | |||
# Edit | <pre> | ||
... | |||
CCpp = Bugzilla, Logger | |||
Python = Bugzilla, Logger | |||
... | |||
</pre> | |||
# Restart ABRT with the command {{command|su -c service abrt restart}} | |||
# Restart ABRT | |||
# Confirm that the ''abrt'' and ''abrt-applet'' processes are both running | # Confirm that the ''abrt'' and ''abrt-applet'' processes are both running | ||
# Kill a running process | # Kill a running process with the command {{command|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'' | # Click on the panel applet to start ''abrt-gui'' | ||
# Select the entry matching the recently crashed application, then click on '''Report''', select Logger plugin. | # Select the entry matching the recently crashed application, then click on '''Report''', select Logger plugin. | ||
Line 19: | Line 18: | ||
|results= | |results= | ||
# After you click '''Send''', a notification window should report: "Logger: Report was stored into: /var/log/abrt-logger" | # After you click '''Send''', a notification window should report: "Logger: Report was stored into: /var/log/abrt-logger" | ||
# The crash information should in fact be added to that file | |||
}} | }} | ||
[[Category:ABRT_Test_Cases]] | [[Category:ABRT_Test_Cases]] |
Revision as of 22:08, 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 with the command
su -c yum install abrt-plugin-logger
- Edit
/etc/abrt/abrt.conf
and be sure the Logger plugin is enabled in the CCpp and Python sections. For example:
... CCpp = Bugzilla, Logger Python = Bugzilla, Logger ...
- Restart ABRT with the command
su -c service abrt restart
- Confirm that the abrt and abrt-applet processes are both running
- Kill a running process with the command
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"
- The crash information should in fact be added to that file