From Fedora Project Wiki
(convert to new category system) |
(ABRT 2 updates) |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description= | |description= | ||
This test case checks whether | This test case checks whether sosreport cooperates with ABRT correctly. | ||
|actions= | |actions= | ||
# Ensure the | # Ensure the {{package|sos}} package is installed with the command {{command|su -c 'yum install sos'}} | ||
# Edit the config file {{filename|/etc/abrt/ | # Edit the config file {{filename|/etc/abrt/abrt_event.conf}}, and comment out lines | ||
#: | #: #EVENT=post-create | ||
#: | #: nice sosreport --tmp-dir "$DUMP_DIR" --batch \ | ||
#: | #: [...] | ||
# | # Restart abrtd service {{command|su -c 'service abrtd restart'}} | ||
# | # Kill some app (this time it might take some time (~20 s) before the icon appears, as it waits for sosreport to finish) | ||
|results= | |results= | ||
# Verify that the file sosreport.tar. | # Verify that the file {{filename|sosreport.tar.xz}} exists in directory {{filename|/var/cache/abrt/<the_crash_directory>}} and has some reasonable content | ||
# | # The taball should contain config files from /etc, grub.conf, some info from /proc, loaded modules, and much more. | ||
}} | }} | ||
[[Category:Package_abrt_test_cases]] | [[Category:Package_abrt_test_cases]] |
Revision as of 15:56, 15 March 2011
Description
This test case checks whether sosreport cooperates with ABRT correctly.
How to test
- Ensure the
sos
package is installed with the commandsu -c 'yum install sos'
- Edit the config file
/etc/abrt/abrt_event.conf
, and comment out lines- #EVENT=post-create
- nice sosreport --tmp-dir "$DUMP_DIR" --batch \
- [...]
- Restart abrtd service
su -c 'service abrtd restart'
- Kill some app (this time it might take some time (~20 s) before the icon appears, as it waits for sosreport to finish)
Expected Results
- Verify that the file
sosreport.tar.xz
exists in directory/var/cache/abrt/<the_crash_directory>
and has some reasonable content - The taball should contain config files from /etc, grub.conf, some info from /proc, loaded modules, and much more.