When creating directory specs, use srctop_dir rather than srctop_file.
authorRichard Levitte <levitte@openssl.org>
Sat, 12 Mar 2016 01:06:55 +0000 (02:06 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 12 Mar 2016 01:09:05 +0000 (02:09 +0100)
While insignificant on Unix like systems, this is significant on
systems like VMS.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
test/recipes/80-test_ct.t

index ff63fa41983f5d55b56b610ba51b189018371e3f..9685b95616ac5c40f46bfe9217b35e8f15dbaef0 100644 (file)
@@ -1,10 +1,10 @@
 #! /usr/bin/perl
 
-use OpenSSL::Test qw/:DEFAULT srctop_file/;
+use OpenSSL::Test qw/:DEFAULT srctop_file srctop_dir/;
 use OpenSSL::Test::Simple;
 
 setup("test_ct");
 $ENV{CTLOG_FILE} = srctop_file("test", "ct", "log_list.conf");
-$ENV{CT_DIR} = srctop_file("test", "ct");
-$ENV{CERTS_DIR} = srctop_file("test", "certs");
+$ENV{CT_DIR} = srctop_dir("test", "ct");
+$ENV{CERTS_DIR} = srctop_dir("test", "certs");
 simple_test("test_ct", "ct_test", "ct", "ec");