From Fedora Project Wiki
(Event crash) |
No edit summary |
||
Line 5: | Line 5: | ||
|actions= | |actions= | ||
# Create file /etc/abrt/events.d/processes.conf with content: | # Create file /etc/abrt/events.d/processes.conf with content: | ||
EVENT=post-create ps auxf > /tmp/process.crash.`date +"%Y-%m-%d_%H:%M:%N"` | #:<pre>EVENT=post-create ps auxf > /tmp/process.crash.`date +"%Y-%m-%d_%H:%M:%N"`</pre> | ||
# Restart ABRT deamon | # Restart ABRT deamon | ||
# Crash some aplication | # Crash some aplication |
Revision as of 18:13, 16 March 2011
Description
This test case tests EVENT configuration in ABRT.
How to test
- Create file /etc/abrt/events.d/processes.conf with content:
EVENT=post-create ps auxf > /tmp/process.crash.`date +"%Y-%m-%d_%H:%M:%N"`
- Restart ABRT deamon
- Crash some aplication
Expected Results
- A file /tmp/process.crash.* for each application crash is created and contains the output of ps auxf command.