anchor.diff:  -include("logplex.hrl").
   -compile(export_all).
   
  -all() -> [accepts_tcp_syslog_data].
  +all() -> [accepts_tcp_syslog_data, rejects_newline_delimited_data].
   
   init_per_suite(Config) ->
       set_os_vars(),
  
positive.code:     meck:wait(5, logplex_channel, post_msg, [{channel, Token#token.channel_id}, '_'], 5000),
      meck:unload().
  
  frame_packet(Logs) when is_list(Logs) ->
      iolist_to_binary([[integer_to_list(byte_size(iolist_to_binary(Log))), <<" ">>, Log] || Log <- Logs]).
  
  set_os_vars() ->
      [os:putenv(Key,Val) || {Key,Val} <-
  
negative.code: end_per_suite(_Config) ->
      application:stop(logplex).
  
  init_per_testcase(Case, Config) when Case =:= accepts_tcp_syslog_data; Case =:= rejects_newline_delimited_data ->
      Port = logplex_app:config(syslog_port),
      {ok, Sock} = gen_tcp:connect("localhost", Port, 
                                   [binary, {packet, 0}]),
  