From Fedora Project Wiki

(abrt plugins test)
 
No edit summary
Line 5: Line 5:
Edit config file  /etc/abrt/abrt.conf, where you should find lines:  
Edit config file  /etc/abrt/abrt.conf, where you should find lines:  
<pre>
<pre>
ABRT Plugins:
# enabled plugins
# enabled plugins
EnabledPlugins = SQLite3, CCpp, Logger
EnabledPlugins = SQLite3, CCpp, Logger
Line 11: Line 10:


How to test this: only plugins in EnabledPlugins are loaded, so try to run  
How to test this: only plugins in EnabledPlugins are loaded, so try to run  
<pre># abrt -d </pre>  
<pre>
# service abrt stop
# abrt -d
</pre>  
and you should see what is being loaded and try to fidle with enabled plugins -- if you remove SQLite3 plugin it should complain that it needs some DB plugin.
and you should see what is being loaded and try to fidle with enabled plugins -- if you remove SQLite3 plugin it should complain that it needs some DB plugin.


Line 29: Line 31:


|results=
|results=
  ABRT should behave according to the configuration options
  ABRT should behave according to the configuration options.
}}
}}
[[Category:ABRT_Test_Cases]]
[[Category:ABRT_Test_Cases]]

Revision as of 12:59, 18 August 2009

Description

This test case tests the functionality of the ABRT plugins.


How to test

Edit config file /etc/abrt/abrt.conf, where you should find lines:

# enabled plugins
EnabledPlugins = SQLite3, CCpp, Logger

How to test this: only plugins in EnabledPlugins are loaded, so try to run

# service abrt stop
# abrt -d

and you should see what is being loaded and try to fidle with enabled plugins -- if you remove SQLite3 plugin it should complain that it needs some DB plugin.

Database Plugin:

# selected DB plugin
Database = SQLite3

# this option is to ensure, that crashdumps won't take the whole HDD space
MaxCrashReportsSize = 1000;

How to test this: set this to some lower value and try to generate some crashdumps with abrt and 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

Expected Results

ABRT should behave according to the configuration options.