]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
test/recipes/66-test_ossl_store.t: ensure native paths
authorRichard Levitte <levitte@openssl.org>
Tue, 22 Jun 2021 06:04:12 +0000 (08:04 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 26 Jun 2021 04:43:08 +0000 (06:43 +0200)
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15823)

test/recipes/66-test_ossl_store.t

index 21bec4395c84c36111fa6909467edbcbd62de6d9..3740bee804075c51b45712cf802945e988270fef 100644 (file)
@@ -9,6 +9,7 @@
 use strict;
 use warnings;
 
+use File::Spec::Functions;
 use OpenSSL::Test::Simple;
 use OpenSSL::Test qw/:DEFAULT srctop_dir data_dir/;
 
@@ -17,5 +18,5 @@ setup("test_ossl_store");
 plan tests => 1;
 
 ok(run(test(["ossl_store_test", "-dir", srctop_dir("test"),
-             "-in", "testrsa.pem", "-sm2", "certs/sm2-root.crt",
+             "-in", "testrsa.pem", "-sm2", canonpath("certs/sm2-root.crt"),
              "-data", data_dir()])));