mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
The static suite's large file is not created on Windows
This commit is contained in:
parent
344cec95b4
commit
8be803cb07
1 changed files with 3 additions and 2 deletions
|
@ -83,8 +83,9 @@ end_per_suite(Config) ->
|
|||
%% Static directories.
|
||||
StaticDir = config(static_dir, Config),
|
||||
PrivDir = code:priv_dir(ct_helper) ++ "/static",
|
||||
ok = file:delete(StaticDir ++ "/large.bin"),
|
||||
ok = file:delete(PrivDir ++ "/large.bin"),
|
||||
%% This file is not created on Windows.
|
||||
_ = file:delete(StaticDir ++ "/large.bin"),
|
||||
_ = file:delete(PrivDir ++ "/large.bin"),
|
||||
ct_helper:delete_static_dir(StaticDir),
|
||||
ct_helper:delete_static_dir(PrivDir).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue