# Test that select class is actuated when it has only a single class given as a
# variable
body common control {
      inputs => { "../../default.cf.sub" };
      bundlesequence  => { default("$(this.promise_filename)") };
      version => "1.0";
}

bundle common test 
{
  vars:
    any::
      "common_class" string => "common_1";

    common_class_selected::	
      "class_selected"
        string => "$(common_classes)",
        if => "$(common_classes)";
  
  classes:
      "common_class_selected"
        select_class => { $(common_class) };

}

bundle agent check
{
  methods:
      "any" usebundle => dcs_passif("common_1",
                                    "$(this.promise_filename)");
}
