######################################################
#
#  Test of a module which fails early
#
#####################################################
body common control
{
    inputs => { "../default.cf.sub" };
    bundlesequence  => { default("$(this.promise_filename)") };
    version => "1.0";
}

#######################################################

bundle agent check
{
  vars:
    "command" string => "$(sys.cf_agent) -D AUTO -KIf $(this.promise_filename).sub";

  methods:
      "check"
        usebundle => dcs_passif_output(".*error:.*", ".*(Assertion.*failed|fault).*",
                                       $(command), $(this.promise_filename));
}
