Browse Source

Remove a warning when building tests on recent OTP

Loïc Hoguin 8 years ago
parent
commit
7a531e4e79
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/sendfile_SUITE.erl

+ 1 - 1
test/sendfile_SUITE.erl

@@ -41,7 +41,7 @@ groups() ->
 
 init_per_suite(Config) ->
 	Filename = filename:join(config(priv_dir, Config), "sendfile"),
-	Binary = crypto:rand_bytes(20 * 1024 * 1024),
+	Binary = crypto:strong_rand_bytes(20 * 1024 * 1024),
 	ok = file:write_file(Filename, Binary),
 	[{filename, Filename} | Config].