1####################################################### 2# 3# This is a special test - it exercises runtime switches 4# 5####################################################### 6 7body common control 8{ 9 inputs => { "../../default.cf.sub" }; 10 bundlesequence => { test }; 11 version => "1.0"; 12} 13 14####################################################### 15 16bundle agent test 17{ 18 vars: 19 "cmd" string => 20 "$(sys.cf_agent) -Kf $(this.promise_filename).sub -D AUTO,MAIN -N ok,foo"; 21 22 commands: 23 "$(cmd)"; 24 25 reports: 26 DEBUG:: 27 "Running: $(cmd)"; 28 "Test results come from $(this.promise_filename).sub"; 29} 30 31