Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix warnings in test suites.

  • Loading branch information...
commit 19ab837ce846f7fae69e119699b7725da698b914 1 parent 60e7034
Michael Uvarov arcusfelis authored

Showing 1 changed file with 2 additions and 7 deletions. Show diff stats Hide diff stats

  1. +2 7 test/etorrent_SUITE.erl
9 test/etorrent_SUITE.erl
@@ -68,8 +68,7 @@ end_per_suite(Config) ->
68 68 ok.
69 69
70 70 end_locations(Config) ->
71   - io:format(user, "Cleaning private directory~n", []),
72   - DataDir = ?config(data_dir, Config),
  71 + io:format(user, "Cleaning the private directory~n", []),
73 72 PrivDir = ?config(priv_dir, Config),
74 73
75 74 %% Remove locations
@@ -254,7 +253,7 @@ seed_transmission() ->
254 253 %% Etorrent => Transmission
255 254 seed_transmission(Config) ->
256 255 io:format(user, "~n======START SEED TRANSMISSION TEST CASE======~n", []),
257   - {Ref, Pid} = ?config(transmission_port, Config),
  256 + {Ref, _Pid} = ?config(transmission_port, Config),
258 257 receive
259 258 {Ref, done} -> ok
260 259 after
@@ -320,11 +319,7 @@ bep9(Config) ->
320 319 timer:sleep(2000),
321 320 %% Form DHT network.
322 321 %% etorrent_dht_state:safe_insert_node({127,0,0,1}, 6881).
323   - SeedDhtPort = rpc:call(SeedNode, etorrent_config, dht_port, []),
324   - LeechDhtPort = rpc:call(LeechNode, etorrent_config, dht_port, []),
325 322 MiddlemanDhtPort = rpc:call(MiddlemanNode, etorrent_config, dht_port, []),
326   - SeedIP = rpc:call(SeedNode, etorrent_config, listen_ip, []),
327   - LeechIP = rpc:call(LeechNode, etorrent_config, listen_ip, []),
328 323 MiddlemanIP = rpc:call(MiddlemanNode, etorrent_config, listen_ip, []),
329 324 true = rpc:call(SeedNode,
330 325 etorrent_dht_state, safe_insert_node,

0 comments on commit 19ab837

Please sign in to comment.
Something went wrong with that request. Please try again.