diff options
author | Micael Karlberg <[email protected]> | 2012-02-10 15:12:11 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2012-02-10 15:12:11 +0100 |
commit | fae2034ba30fd9936960418ba36b90ca7028bb3d (patch) | |
tree | ed18bfbe493b3a24cd94076fc9d06764d8192a37 /lib/inets | |
parent | 1ef8d7ee1e971e20c6c18363b3745101b4ce5f92 (diff) | |
download | otp-fae2034ba30fd9936960418ba36b90ca7028bb3d.tar.gz otp-fae2034ba30fd9936960418ba36b90ca7028bb3d.tar.bz2 otp-fae2034ba30fd9936960418ba36b90ca7028bb3d.zip |
[inets] Skip test case on windows (long path's)
On windows we have a problem opening files when
the path's are long (error reason eio).
Diffstat (limited to 'lib/inets')
-rw-r--r-- | lib/inets/test/httpd_basic_SUITE.erl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/inets/test/httpd_basic_SUITE.erl b/lib/inets/test/httpd_basic_SUITE.erl index c75c8c57a4..7a476ea14a 100644 --- a/lib/inets/test/httpd_basic_SUITE.erl +++ b/lib/inets/test/httpd_basic_SUITE.erl @@ -20,6 +20,8 @@ -module(httpd_basic_SUITE). -include_lib("common_test/include/ct.hrl"). +-include("inets_test_lib.hrl"). + %% Note: This directive should only be used in test suites. -compile(export_all). @@ -184,6 +186,15 @@ escaped_url_in_error_body(doc) -> escaped_url_in_error_body(suite) -> []; escaped_url_in_error_body(Config) when is_list(Config) -> + %% <CONDITIONAL-SKIP> + %% This skip is due to a problem on windows with long path's + %% If a path is too long file:open fails with, for example, eio. + %% Until that problem is fixed, we skip this case... + Skippable = [win32], + Condition = fun() -> ?OS_BASED_SKIP(Skippable) end, + ?NON_PC_TC_MAYBE_SKIP(Config, Condition), + %% </CONDITIONAL-SKIP> + tsp("escaped_url_in_error_body -> entry"), HttpdConf = ?config(httpd_conf, Config), {ok, Pid} = inets:start(httpd, [{port, 0} | HttpdConf]), |