anchor.diff:  
   dotfiles_test_() ->
       {setup,local,
  -        fun() ->
  -            application:start(gproc),
  -            ok = meck:new(etorrent_config, []),
  -            ok = meck:expect(etorrent_config, dotdir, fun
  -                () -> test_server:temp_name("/tmp/etorrent.")
  -            end)
  -        end,
  -        fun(_) ->
  -            application:stop(gproc),
  -            ?assert(meck:validate(etorrent_config)),
  -            ok = meck:unload(etorrent_config)
  -        end, [
  +        fun() -> application:start(gproc) end,
  +        fun(_) -> application:stop(gproc) end, [
           {foreach,local,
               fun setup_config/0,
               fun teardown_config/1, [
  
positive.code: %% @end
  -spec torrents() -> {ok, [Filenames::string()]} | {error, noent}.
  torrents() ->
      case file:list_dir(dotdir()) of
          {ok, Files} ->
              IsTorrent = fun(Str) -> lists:suffix(".torrent", Str) end,
              Basename = fun(Str) -> filename:basename(Str, ".torrent") end,
  
negative.code: -spec base_path(Infohash::[byte()]) -> Path::string().
  base_path(Infohash) ->
      assert_hex_hash(Infohash),
      filename:join([etorrent_config:dotdir(), Infohash]).
  
  
  %% @doc Get the info hash of a torrent file.
  