add:  if (! sys.stat(src)) { message("Template file not found: %s\n",src); assert(0); } 
context: function setup_file(template, message, fname, subobj){	var lp = loadparm_init();	var f = fname;	var src = lp.get("setup directory") + "/" + template;	sys.unlink(f);	var data = sys.file_load(src);	data = substitute_var(data, subobj);	ok = sys.file_save(f, data);	if (!ok) {		message("failed to create file: " + f + "\n");		assert(ok);	}}
meta: 1914	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1914/db6c6cfdec4d00b034d5dfed7cc5b533f2d53db4/provision.js/buggy/source4/scripting/libjs/provision.js