1body common control 2{ 3 inputs => { "../../default.cf.sub", @(def.augments_inputs) }; 4 bundlesequence => { default("$(this.promise_filename)") }; 5} 6 7bundle agent test 8{ 9 meta: 10 "description" string => "Test that variables containing other variales are de-referenced"; 11} 12 13bundle agent check 14{ 15 reports: 16 "$(this.promise_filename) Pass" 17 if => strcmp( $(this.promise_dirname), $(my_globals.policy_root) ); 18 19 "$(this.promise_filename) FAIL" 20 unless => strcmp( $(this.promise_dirname), $(my_globals.policy_root) ); 21 22 EXTRA:: 23 "my_globals.policy_root = $(my_globals.policy_root)"; 24 "def.policy_root = $(def.policy_root)"; 25} 26