* tests.com: Add the symbol openssl_conf, so the openssl application
stops complaining about a missing configuration file. Define the logical
name PERL_ENV_TABLES with values to Perl considers the DCL symbol table
as part of the environment (see 'man perlvms' for details), so cms-test.pl
can get the value of EXE_DIR from tests.com, among others.
* cms-test.pl: Make changes to have it work on VMS as well. Upper or mixed
case options need to be quoted and the openssl command needs a VMS-specific
treatment. It all should work properly on Unix, I hope it does on Windows
as well...
diff --git a/test/tests.com b/test/tests.com
index fa4600f..21991c4 100644
--- a/test/tests.com
+++ b/test/tests.com
@@ -14,6 +14,7 @@
$
$ sslroot = f$parse("sys$disk:[-.apps];",,,,"syntax_only") - "].;"+ ".]"
$ define /translation_attributes = concealed sslroot 'sslroot'
+$ openssl_conf := sslroot:[000000]openssl-vms.cnf
$
$ set default '__here'
$
@@ -290,6 +291,8 @@
$ return
$ test_cms:
$ write sys$output "CMS consistency test"
+$ ! The following makes perl include the DCL symbol table in the env.
+$ define/user perl_env_tables clisym_local,lnm$file_dev,ctrl_env
$ perl CMS-TEST.PL
$ return
$