QA:Testcase ABRT sosreport
This test case checks whether sosreport cooperates with ABRT correctly.
How to test
- Ensure the
package is installed with the command
su -c 'yum install sos'
- Edit the config file
/etc/abrt/abrt_event.conf, and comment out lines
- 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)
- Verify that the file
sosreport.tar.xzexists in directory
/var/cache/abrt/<the_crash_directory>and has some reasonable content
- The tarball should contain config files from /etc, grub.conf, some info from /proc, loaded modules, and much more.