Loading test/recipes/90-test_includes.t +9 −1 Original line number Diff line number Diff line Loading @@ -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"); test/recipes/90-test_includes_data/vms-includes-file.cnf 0 → 100644 +5 −0 Original line number Diff line number Diff line # # Example configuration file using includes. # .include vms-includes.cnf test/recipes/90-test_includes_data/vms-includes.cnf 0 → 100644 +5 −0 Original line number Diff line number Diff line # # Example configuration file using includes. # .include [.conf-includes] Loading
test/recipes/90-test_includes.t +9 −1 Original line number Diff line number Diff line Loading @@ -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");
test/recipes/90-test_includes_data/vms-includes-file.cnf 0 → 100644 +5 −0 Original line number Diff line number Diff line # # Example configuration file using includes. # .include vms-includes.cnf
test/recipes/90-test_includes_data/vms-includes.cnf 0 → 100644 +5 −0 Original line number Diff line number Diff line # # Example configuration file using includes. # .include [.conf-includes]