2.5. Development

2.5.1. cfgfail

Force configuration errors at the next configuration activation.

Description

Force a configuration error at the next configuration activation.

Usage

cfgfail -validate <application> [-timeout] 
Trigger a failure in the validate event.
cfgfail -phase1 <application> [-timeout] 
Trigger a failure in the Phase-1 event.
cfgfail -phase2 <application> [-timeout] 
Trigger a failure in the Phase-2 event.
cfgfail -phase3 <application> [-timeout] 
Trigger a failure in the Phase-3 event.
cfgfail -clear 
Remove the license.

Options

-clear
Clear all failures.
-phase1
Set failure at validate CFGACT_PHASE1 event.
-phase2
Set failure at validate CFGACT_PHASE2 event.
-phase3
Set failure at validate CFGACT_PHASE3 event.
-timeout
Let the process timeout instead of returning failure.
-validate
Set failure at validate CFGACT_VALIDATE event.
<application>
Application name.