From Fedora Project Wiki

(ABRT 2 updates)
No edit summary
Line 12: Line 12:
|results=
|results=
# Verify that the file {{filename|sosreport.tar.xz}} exists in directory {{filename|/var/cache/abrt/<the_crash_directory>}} and has some reasonable content  
# 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.
# The tarball 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:57, 15 March 2011

Description

This test case checks whether sosreport cooperates with ABRT correctly.


How to test

  1. Ensure the sos package is installed with the command su -c 'yum install sos'
  2. Edit the config file /etc/abrt/abrt_event.conf, and comment out lines
    #EVENT=post-create
    nice sosreport --tmp-dir "$DUMP_DIR" --batch \
    [...]
  3. Restart abrtd service su -c 'service abrtd restart'
  4. 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

  1. Verify that the file sosreport.tar.xz exists in directory /var/cache/abrt/<the_crash_directory> and has some reasonable content
  2. The tarball should contain config files from /etc, grub.conf, some info from /proc, loaded modules, and much more.