anchor.diff:  	file:write_file(
   		"/tmp/zfor_conf_test/b.conf",
   "
  -{vhost,\"xx.com\",
  +{vhost, \"xx.com\",
   	[
  -		{host,[\"x.com\"]},
  -		{select_method,fallback}
  +		{host, [\"x.com\"]},
  +		{select_method, fallback}
  +	]
  +}.
  +{vhost, \"yy.com\",
  +	[
  +		{host, {host_list, \"testhl\"}},
  +		{select_method, round_robin}
  +	]
  +}.
  +{vhost, \"zz.com\",
  +	[
  +		{host, {host_list, \"testrm\"}},
  +		{select_method, grp_all}
   	]
   }.
   "
  
positive.code: "
  {global,
  	[
  		{server_port,1117}
  	]
  }.
  "
  
negative.code: 	#global_conf{server_port = 1117} = zfor_config:get_global_conf(State1),
  	{ok, UpdateTS,
  		#vhost_conf{hostnames = ["x.com"], select_method = fallback}} = zfor_config:get_vhost_conf(State1, "xx.com"),
  	{ok, VHosts} = zfor_config:get_all_vhost_conf(State1),
  	3 = length(VHosts),
  	{
  		{?VHOST_CONFIG_PREFIX, "xx.com"},
  		UpdateTS,
  		#vhost_conf{hostnames = ["x.com"], select_method = fallback}
  	} = lists:keyfind({?VHOST_CONFIG_PREFIX, "xx.com"}, 1, VHosts),
  	{
  		{?VHOST_CONFIG_PREFIX, "yy.com"},
  		UpdateTS,
  		#vhost_conf{hostnames = ["127.0.0.1", "127.0.0.2"], select_method = round_robin}
  	} = lists:keyfind({?VHOST_CONFIG_PREFIX, "yy.com"}, 1, VHosts),
  	{
  		{?VHOST_CONFIG_PREFIX, "zz.com"},
  		UpdateTS,
  		#vhost_conf{hostnames = ["192.168.212.169"], select_method = grp_all}
  	} = lists:keyfind({?VHOST_CONFIG_PREFIX, "zz.com"}, 1, VHosts).
  
  