body common control
{
        inputs => { '../../default.sub.cf' };
        bundlesequence  => { default("$(this.promise_filename)") };
        version => "1.0";
}

bundle agent test
{
  meta:
      "description" string => "
Test that body printfile head_n works as expected";

}
bundle agent check
{
  vars:
      "pass_reg" string => ".*R: My first line
R: line 0
R: line 1
R: line 2
R: line 3";

      "command" string => "$(sys.cf_agent) -K -f $(this.promise_filename).sub";

  methods:
      "" usebundle => dcs_passif_output("$(pass_reg)", "", $(command), $(this.promise_filename));
}
