QA:Testcase ABRT quota

From FedoraProject

Jump to: navigation, search

Description

This test case tests the functionality of the ABRT "quota" option.


How to test

  1. Edit /etc/abrt/abrt.conf and find this line: MaxCrashReportsSize = 1000, this means that the quota is set to 1000 MB.
  2. Set quota to a lower value (e.g. 1 MB: change the line to read MaxCrashReportsSize = 1)
  3. Restart the abrtd service with the command su -c 'systemctl restart abrtd.service'
  4. Run a complex GUI application such as Evolution
  5. Crash the application: for Evolution, run pkill -SIGSEGV evolution
  6. Try this two or three times

Expected Results

  1. ABRT may save the first crash exceeding quota but with every other crash the older one should be gone and replaced by the new one
  2. If abrt-applet is running then it should notify user about both the crash and the exceeded quota