text: #######################################################
  #
  # Set a class if a process does not exist
  #
  #######################################################
  
  body common control
  {
        inputs => { "../../default.cf.sub" };
        bundlesequence  => { default("$(this.promise_filename)") };
        version => "1.0";
  }
  
  #######################################################
  
  bundle agent init
  {
    vars:
        "dummy" string => "dummy";
  }
  
  #######################################################
  
  bundle agent test
  {
    processes:
        "There-is-NoPrOCess-with-this-name"
        process_count => test_no_such;
  }
  
  body process_count test_no_such
  {
        in_range_define => { "found" };
        out_of_range_define => { "not_found" };
        match_range => irange(0,0);
  }
  
  #######################################################
  
  bundle agent check
  {
    classes:
        "ok" expression => "found.!not_found";
  
    reports:
      ok::
        "$(this.promise_filename) Pass";
      !ok::
        "$(this.promise_filename) FAIL";
  }
  
  ### PROJECT_ID: core
  ### CATEGORY_ID: 30
  