anchor.diff:                              success = ssh_connection:exec(ConnectionRef, ChannelId0, "testing", infinity),
                               ct:log("~p:~p: exec on connection ~p", [?MODULE,?LINE,ConnectionRef]),
                               receive
  -                                {ssh_cm, ConnectionRef, {data, _ChannelId, 0, <<"echo testing\r\n">>}} ->
  +                                {ssh_cm, ConnectionRef, {data, _ChannelId, 0, <<"echo testing\n">>}} ->
                                       Parent ! {answer_received,self()},
                                       ct:log("~p:~p: recevied result on connection ~p", [?MODULE,?LINE,ConnectionRef])
                               after 5000 ->
  
positive.code:     {ok, Ch} = ssh_connection:session_channel(C, infinity),
  
      success = ssh_connection:exec(C, Ch, "> ", infinity),
      ssh_test_lib:receive_exec_result_or_fail({ssh_cm,C,{data,Ch,0,<<"Tiny read/write test\r\n">>}}),
  
      ssh_test_lib:receive_exec_result_or_fail({ssh_cm,C,{data,Ch,0,<<"1> ">>}}),
      ok = ssh_connection:send(C, Ch, "hej.\n", 5000),
      ssh_test_lib:receive_exec_result_or_fail({ssh_cm,C,{data,Ch,0,<<"{simple_eval,hej}\r\n">>}}),
  
      ssh_test_lib:receive_exec_result_or_fail({ssh_cm,C,{data,Ch,0,<<"2> ">>}}),
      ok = ssh_connection:send(C, Ch, "'Hi ", 5000),
      ok = ssh_connection:send(C, Ch, "there", 5000),
      ok = ssh_connection:send(C, Ch, "'", 5000),
      ok = ssh_connection:send(C, Ch, ".\n", 5000),
      ssh_test_lib:receive_exec_result_or_fail({ssh_cm,C,{data,Ch,0,<<"{simple_eval,'Hi there'}\r\n">>}}),
      ssh_test_lib:receive_exec_result_or_fail({ssh_cm,C,{data,Ch,0,<<"3> ">>}}),
      ok = ssh_connection:send(C, Ch, "bad_input.\n", 5000),
      ssh_test_lib:receive_exec_result_or_fail({ssh_cm,C,{data,Ch,1,<<"**Error** {bad_input,3}">>}}),
  
negative.code:     success = ssh_connection:exec(ConnectionRef0, ChannelId0,
  				  "testing", infinity),
      receive
  	{ssh_cm, ConnectionRef0, {data, ChannelId0, 0, <<"echo testing\n">>}} ->
  	    ok
      after 5000 ->
  	    ct:fail("Exec Timeout")
  