From Fedora Project Wiki
No edit summary |
(clean up) |
||
Line 2: | Line 2: | ||
|description= | |description= | ||
This test case tests EVENT configuration in ABRT. | This test case tests EVENT configuration in ABRT. | ||
|actions= | |actions= | ||
# Create file /etc/abrt/events.d/3rd-party.conf with content: | # Create a file {{filename|/etc/abrt/events.d/3rd-party.conf}} with content: | ||
#:<pre>EVENT=post-create echo "Custom 3rd party configuration was used" > /tmp/3rd-party-notice.$(date +"%Y-%m-%d_%H:%M:%N")</pre> | #:<pre>EVENT=post-create echo "Custom 3rd party configuration was used" > /tmp/3rd-party-notice.$(date +"%Y-%m-%d_%H:%M:%N")</pre> | ||
# Restart | # Restart abrtd: {{command|su -c 'systemctl restart abrtd.service'}} | ||
# Crash | # Crash a running application with {{command|kill -SIGSEGV (pid)}} or {{command|pkill -SIGSEGV (processname)}} | ||
|results= | |results= | ||
# A file 3rd-party-notice.* with text above should exist in /tmp | # A file 3rd-party-notice.* with text above should exist in /tmp | ||
}} | }} | ||
[[Category:Package_abrt_test_cases]] | [[Category:Package_abrt_test_cases]] |
Latest revision as of 20:53, 29 March 2011
Description
This test case tests EVENT configuration in ABRT.
How to test
- Create a 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 abrtd:
su -c 'systemctl restart abrtd.service'
- Crash a running application with
kill -SIGSEGV (pid)
orpkill -SIGSEGV (processname)
Expected Results
- A file 3rd-party-notice.* with text above should exist in /tmp