mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
CONF inclusion test: Add VMS specific tests
We want to see that VMS syntax paths are treated correctly. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5587)
This commit is contained in:
parent
4f7c840a4d
commit
86a227ee1b
@ -10,8 +10,16 @@ setup("test_includes");
|
||||
plan skip_all => "test_includes doesn't work without posix-io"
|
||||
if disabled("posix-io");
|
||||
|
||||
plan tests => 3; # The number of tests being performed
|
||||
plan tests => # The number of tests being performed
|
||||
3
|
||||
+ ($^O eq "VMS" ? 2 : 0);
|
||||
|
||||
ok(run(test(["conf_include_test", data_file("includes.cnf")])), "test directory includes");
|
||||
ok(run(test(["conf_include_test", data_file("includes-file.cnf")])), "test file includes");
|
||||
if ($^O eq "VMS") {
|
||||
ok(run(test(["conf_include_test", data_file("vms-includes.cnf")])),
|
||||
"test directory includes, VMS syntax");
|
||||
ok(run(test(["conf_include_test", data_file("vms-includes-file.cnf")])),
|
||||
"test file includes, VMS syntax");
|
||||
}
|
||||
ok(run(test(["conf_include_test", data_file("includes-broken.cnf"), "f"])), "test broken includes");
|
||||
|
5
test/recipes/90-test_includes_data/vms-includes-file.cnf
Normal file
5
test/recipes/90-test_includes_data/vms-includes-file.cnf
Normal file
@ -0,0 +1,5 @@
|
||||
#
|
||||
# Example configuration file using includes.
|
||||
#
|
||||
|
||||
.include vms-includes.cnf
|
5
test/recipes/90-test_includes_data/vms-includes.cnf
Normal file
5
test/recipes/90-test_includes_data/vms-includes.cnf
Normal file
@ -0,0 +1,5 @@
|
||||
#
|
||||
# Example configuration file using includes.
|
||||
#
|
||||
|
||||
.include [.conf-includes]
|
Loading…
Reference in New Issue
Block a user