anchor.diff:      after
   	120*1000 -> exit(timeout_error)
       end.
  +
  +
  +checking() ->
  +    [{require, common_conf, etorrent_common_config}].
  +
  +checking(Config) ->
  +    io:format("~n======START CHECKING TEST CASE======~n", []),
  +    {Ref, Pid} = {make_ref(), self()},
  +    {ok, _} = rpc:call(?config(leech_node, Config),
  +		  etorrent, start,
  +		  [?config(http_torrent_file, Config), {Ref, Pid}]),
  +    receive
  +	{Ref, done} -> ok
  +    after
  +	120*1000 -> exit(timeout_error)
  +    end,
  +    sha1_file(?config(src_filename, Config))
  +	=:= sha1_file(?config(dest_filename, Config)).
   
   
   bep9() ->
  
positive.code:     Directory = ?config(data_dir, Config),
  %%  file:set_cwd(Directory),
      ct:pal("Data directory: ~s~n", [Directory]),
      AutoDir = filename:join(Directory, autogen),
      file:make_dir(AutoDir),
      Fn                 = filename:join([AutoDir, "file30m.random"]),
      Dir                = filename:join([AutoDir, "dir2x30m"]),
      DumpTorrentFn      = filename:join([AutoDir, "file30m-trackerless.torrent"]),
      HTTPTorrentFn      = filename:join([AutoDir, "file30m-http.torrent"]),
  
negative.code:     LNodeConf = leech_configuration(LNodeDir),
      %% Feed etorrent the file to work with
      {ok, _} = file:copy(Fn, SrcFn),
      %% Copy torrent-file to torrents-directory
      {ok, _} = copy_to(TorrentFn, ?config(dir, SNodeConf)),
      start_app(SNode, SNodeConf),
      start_app(LNode, LNodeConf),
      [{tracker_port, TrackerPid},
       {src_filename, SrcFn},
       {dest_filename, DestFn},
       {seed_node_dir, SNodeDir},
       {leech_node_dir, LNodeDir} | Config];
  init_per_testcase(checking, Config) ->
      %% etorrent => etorrent
      PrivDir   = ?config(priv_dir, Config),
      DataDir   = ?config(data_dir, Config),
      TorrentFn = ?config(http_torrent_file, Config),
      SNode     = ?config(seed_node, Config),
      LNode     = ?config(leech_node, Config),
      Fn        = ?config(data_filename, Config),
      BrokenFn  = ?config(broken_data_filename, Config),
      TrackerPid = start_opentracker(DataDir),
      SNodeDir = filename:join([PrivDir,  seed]),
      LNodeDir = filename:join([PrivDir,  leech]),
      BaseFn   = filename:basename(Fn),
      SrcFn    = filename:join([SNodeDir, "downloads", BaseFn]),
      DestFn   = filename:join([LNodeDir, "downloads", BaseFn]),
      create_standard_directory_layout(SNodeDir),
      create_standard_directory_layout(LNodeDir),
      SNodeConf = seed_configuration(SNodeDir),
      LNodeConf = leech_configuration(LNodeDir),
      %% Feed etorrent the file to work with
      {ok, _} = file:copy(Fn, SrcFn),
      {ok, _} = file:copy(BrokenFn, DestFn),
      %% Copy torrent-file to torrents-directory
      {ok, _} = copy_to(TorrentFn, ?config(dir, SNodeConf)),
      start_app(SNode, SNodeConf),
  