From 282e532ba9e1b0e0f1867e43dd60d1118a36c12f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 22 Apr 2013 19:27:47 +0200 Subject: [PATCH] Move SSL test certificates in a subdirectory --- test/http_SUITE.erl | 8 ++++---- test/http_SUITE_data/{ => ssl}/cert.pem | 0 test/http_SUITE_data/{ => ssl}/key.pem | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename test/http_SUITE_data/{ => ssl}/cert.pem (100%) rename test/http_SUITE_data/{ => ssl}/key.pem (100%) diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl index 4a018567..be366e21 100644 --- a/test/http_SUITE.erl +++ b/test/http_SUITE.erl @@ -204,8 +204,8 @@ init_per_group(http, Config) -> init_per_group(https, Config) -> Transport = ranch_ssl, Opts = [ - {certfile, ?config(data_dir, Config) ++ "cert.pem"}, - {keyfile, ?config(data_dir, Config) ++ "key.pem"}, + {certfile, ?config(data_dir, Config) ++ "ssl/cert.pem"}, + {keyfile, ?config(data_dir, Config) ++ "ssl/key.pem"}, {password, "cowboy"} ], Config1 = init_static_dir(Config), @@ -236,8 +236,8 @@ init_per_group(http_compress, Config) -> init_per_group(https_compress, Config) -> Transport = ranch_ssl, Opts = [ - {certfile, ?config(data_dir, Config) ++ "cert.pem"}, - {keyfile, ?config(data_dir, Config) ++ "key.pem"}, + {certfile, ?config(data_dir, Config) ++ "ssl/cert.pem"}, + {keyfile, ?config(data_dir, Config) ++ "ssl/key.pem"}, {password, "cowboy"} ], Config1 = init_static_dir(Config), diff --git a/test/http_SUITE_data/cert.pem b/test/http_SUITE_data/ssl/cert.pem similarity index 100% rename from test/http_SUITE_data/cert.pem rename to test/http_SUITE_data/ssl/cert.pem diff --git a/test/http_SUITE_data/key.pem b/test/http_SUITE_data/ssl/key.pem similarity index 100% rename from test/http_SUITE_data/key.pem rename to test/http_SUITE_data/ssl/key.pem