From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
|actions= | |actions= | ||
# Create file /etc/abrt/events.d/ | # Create file /etc/abrt/events.d/3rd-party.conf with content: | ||
#:<pre>EVENT=post-create | #:<pre>EVENT=post-create echo "Custom 3rd party configuration was used" > /tmp/3rd-party-notice.$(date +"%Y-%m-%d_%H:%M:%N")</pre> | ||
# Restart ABRT deamon | # Restart ABRT deamon | ||
# Crash some aplication | # Crash some aplication | ||
|results= | |results= | ||
# A file /tmp | # A file 3rd-party-notice.* with text above should exist in /tmp | ||
}} | }} | ||
[[Category:Package_abrt_test_cases]] | [[Category:Package_abrt_test_cases]] |
Revision as of 18:20, 16 March 2011
Description
This test case tests EVENT configuration in ABRT.
How to test
- Create file /etc/abrt/events.d/3rd-party.conf with content:
EVENT=post-create echo "Custom 3rd party configuration was used" > /tmp/3rd-party-notice.$(date +"%Y-%m-%d_%H:%M:%N")
- Restart ABRT deamon
- Crash some aplication
Expected Results
- A file 3rd-party-notice.* with text above should exist in /tmp