From cf0385b20b8c17220029c2419c7b97977375d86e Mon Sep 17 00:00:00 2001 From: Micael Karlberg Date: Tue, 8 Jun 2010 15:30:11 +0000 Subject: OTP-7907: [httpc|httpd] - Now allow the use of the "new" ssl. OTP-8564: Update deprecated status. OTP-8573: Inets mod_alias URL rewrite. --- lib/inets/test/httpd_SUITE.erl | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) (limited to 'lib/inets/test/httpd_SUITE.erl') diff --git a/lib/inets/test/httpd_SUITE.erl b/lib/inets/test/httpd_SUITE.erl index 3c9b5e41a7..3255cbec06 100644 --- a/lib/inets/test/httpd_SUITE.erl +++ b/lib/inets/test/httpd_SUITE.erl @@ -1775,7 +1775,16 @@ essl_time_test(Config) when is_list(Config) -> ssl_time_test(Tag, Config) when is_list(Config) -> %% - Skippable = [win32], + FreeBSDVersionVerify = + fun() -> + case os:version() of + {7, 1, _} -> % We only have one such machine, so... + true; + _ -> + false + end + end, + Skippable = [win32, {unix, [{freebsd, FreeBSDVersionVerify}]}], Condition = fun() -> ?OS_BASED_SKIP(Skippable) end, ?NON_PC_TC_MAYBE_SKIP(Config, Condition), %% @@ -2271,12 +2280,22 @@ ssl_restart_disturbing_block(Tag, Config) -> fun() -> case os:type() of {unix, linux} -> - HW = string:strip(os:cmd("uname -m"), right, $\n), - case HW of + case ?OSCMD("uname -m") of "ppc" -> - case inet:gethostname() of - {ok, "peach"} -> - true; + case file:read_file_info("/etc/fedora-release") of + {ok, _} -> + case ?OSCMD("awk '{print $2}' /etc/fedora-release") of + "release" -> + %% Fedora 7 and later + case ?OSCMD("awk '{print $3}' /etc/fedora-release") of + "7" -> + true; + _ -> + false + end; + _ -> + false + end; _ -> false end; -- cgit v1.2.3