From 8be803cb07738d87cf24fbb041b7c0137c232988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 19 Nov 2017 16:13:48 +0100 Subject: The static suite's large file is not created on Windows --- test/static_handler_SUITE.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/static_handler_SUITE.erl') 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). -- cgit v1.2.3