anchor.diff:  	      #sctp_assoc_change{state=comm_lost,
   				 assoc_id=SbAssocId} -> ok;
   	      timeout ->
  -		  ?line test_server:fail({unexpected,flush()})
  +		  ?line test_server:fail({timeout,flush()})
   	  end,
       ?line ok = gen_sctp:close(Sb),
       ?line case recv_assoc_change(Sa, Loopback, Pb, Timeout) of
   	      #sctp_assoc_change{state=comm_lost,
   				 assoc_id=SaAssocId} -> ok;
   	      timeout ->
  -		  ?line test_server:fail({unexpected,flush()})
  +		  ?line io:format("timeout waiting for comm_lost on Sa~n"),
  +		  ?line match_unless_solaris(ok, {timeout,flush()})
   	  end,
       ?line receive
  -              {sctp_error,Sa,enotconn} -> ok % Solaris
  -          after 17 -> ok %% Only happens on Solaris
  -          end,
  +	      {sctp_error,Sa,enotconn} -> ok % Solaris
  +	  after 17 -> ok
  +	  end,
       ?line ok = gen_sctp:close(Sa),
       %%
       ?line receive
  
positive.code:     ?line Data = <<"The quick brown fox jumps over a lazy dog 0123456789">>,
      ?line Loopback = {127,0,0,1},
      ?line {ok,Sb} = gen_sctp:open([{type,seqpacket}]),
      ?line {ok,Pb} = inet:port(Sb),
      ?line ok = gen_sctp:listen(Sb, true),
  
      ?line {ok,Sa} = gen_sctp:open([{type,stream}]),
      ?line {ok,Pa} = inet:port(Sa),
      ?line {ok,#sctp_assoc_change{state=comm_up,
  				 error=0,
  				 outbound_streams=SaOutboundStreams,
  				 inbound_streams=SaInboundStreams,
  				 assoc_id=SaAssocId}} =
  	gen_sctp:connect(Sa, Loopback, Pb, []),
      ?line {SbOutboundStreams,SbInboundStreams,SbAssocId} =
  	case recv_event(log_ok(gen_sctp:recv(Sb, infinity))) of
  	    {Loopback,Pa,
  
negative.code:     ?line ?LOGVAR(S3),
      ?line P3 = socket_call(S3, get_port),
      ?line ?LOGVAR(P3),
      ?line [{_,#sctp_paddrinfo{assoc_id=S3Ai,state=active}}] =
  	socket_call(S3,
  	    {getopts,[{sctp_get_peer_addr_info,
  		       #sctp_paddrinfo{address={Addr,P2}}}]}),
      %%?line S3Ai = S1Ai,
      ?line ?LOGVAR(S3Ai),
      %%
      ?line socket_call(S3, {send,S3Ai,Stream,<<"Number three">>}),
  