From Fedora Project Wiki

(convert to new category system)
(abrt 2 changes)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case tests the functionality of the [[Features/ABRT|ABRT]] quota option.
|description=This test case tests the functionality of the ABRT "quota" option.
|actions=
|actions=


# Edit /etc/abrt/abrt.conf and find this line:
# Edit {{filename|/etc/abrt/abrt.conf}} and find this line: <tt>MaxCrashReportsSize = 1000</tt>, this means that the quota is set to 1000 MB.
<pre>
MaxCrashReportsSize = 1000
</pre>
* this means that the quota is set to 1000MB


How to test this:  
How to test:
* set this to some lower value and try to generate some crashdumps with abrt and
Set quota to some lower value (e.g. 1 MB), restart abrtd service and try to get some crash with abrt. Crashing random GUI application likely exceeds the limit, try to kill e.g. {{command|gcalctool}}.
exceed this limit - the last dump shouldn't be saved.
Note - the last saved dump can exceed this value, but the next one won't
be saved.


|results=
|results=
# ABRT should not save the new crash
# ABRT may save the '''first''' crash exceeding quota but with every other crash the older one will be gone and replaced by the new one.
# If abrt-applet is running then it should notify user about exceeded quota
# If abrt-applet is running then it should notify user about both the crash and the exceeded quota.
}}
}}
[[Category:Package_abrt_test_cases]]
[[Category:Package_abrt_test_cases]]

Revision as of 11:29, 15 March 2011

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.

How to test: Set quota to some lower value (e.g. 1 MB), restart abrtd service and try to get some crash with abrt. Crashing random GUI application likely exceeds the limit, try to kill e.g. gcalctool.

Expected Results

  1. ABRT may save the first crash exceeding quota but with every other crash the older one will 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.