anchor.diff:      {Ref, Pid} = ?config(transmission_port, Config),
       receive
   	{Ref, done} -> ok = stop_transmission(Pid)
  +    after
  +	120*1000 -> exit(timeout_error)
  +    end,
  +    sha1_file(?config(leech_file, Config)) =:= sha1_file(?config(seed_file, Config)).
  +
  +leech_transmission() ->
  +    [{require, common_conf, etorrent_common_config}].
  +
  +leech_transmission(Config) ->
  +    {Ref, Pid} = {make_ref(), self()},
  +    ok = rpc:call(?config(ln, Config),
  +		  etorrent, start,
  +		  [?config(leech_torrent, Config), {Ref, Pid}]),
  +    receive
  +	{Ref, done} -> ok
       after
   	120*1000 -> exit(timeout_error)
       end,
  
positive.code:      {fast_resume_file, filename:join([PrivDir, "seed_fast_resume"])} | CConf].
  
  leech_configuration(CConf, PrivDir) ->
      [{port, 1769 },
       {udp_port, 1760 },
       {dht_state, filename:join([PrivDir, "leecher_state.persistent"])},
       {dir, filename:join([PrivDir, "nothing"])},
       {download_dir, filename:join([PrivDir, "nothing"])},
       {logger_dir, PrivDir},
       {logger_fname, "leech_etorrent.log"},
       {fast_resume_file, filename:join([PrivDir, "leech_fast_resume"])} | CConf].
  
negative.code: 	 init_per_testcase/2, end_per_testcase/2]).
  
  -export([seed_leech/0, seed_leech/1,
  	 seed_transmission/0, seed_transmission/1,
  	 leech_transmission/0, leech_transmission/1]).
  
  -define(TESTFILE30M, "test_file_30M.random").
  
  