summaryrefslogtreecommitdiffstats
path: root/tests/check/elements
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check/elements')
-rw-r--r--tests/check/elements/souphttpsrc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
index be7aa728..34f8b93a 100644
--- a/tests/check/elements/souphttpsrc.c
+++ b/tests/check/elements/souphttpsrc.c
@@ -415,7 +415,8 @@ run_server (int *http_port, int *https_port)
SoupServer *server, *ssl_server;
int port = SOUP_ADDRESS_ANY_PORT;
int ssl_port = SOUP_ADDRESS_ANY_PORT;
- const char *ssl_cert_file = "test-cert.pem", *ssl_key_file = "test-key.pem";
+ const char *ssl_cert_file = G_STRINGIFY (CHECKDATA_DIR) "/test-cert.pem";
+ const char *ssl_key_file = G_STRINGIFY (CHECKDATA_DIR) "/test-key.pem";
static int server_running = 0;
if (server_running)