diff options
author | Loïc Hoguin <[email protected]> | 2017-11-19 16:13:48 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-11-19 16:13:48 +0100 |
commit | 8be803cb07738d87cf24fbb041b7c0137c232988 (patch) | |
tree | 74221b3b4406c15b9d9d328cff11a6e16689f60f | |
parent | 344cec95b40e281ffe2325916de96b4af12c8733 (diff) | |
download | cowboy-8be803cb07738d87cf24fbb041b7c0137c232988.tar.gz cowboy-8be803cb07738d87cf24fbb041b7c0137c232988.tar.bz2 cowboy-8be803cb07738d87cf24fbb041b7c0137c232988.zip |
The static suite's large file is not created on Windows
-rw-r--r-- | test/static_handler_SUITE.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/static_handler_SUITE.erl b/test/static_handler_SUITE.erl index e4e0ef1..e8d496c 100644 --- a/test/static_handler_SUITE.erl +++ b/test/static_handler_SUITE.erl @@ -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). |