diff options
Diffstat (limited to 'src/lib/libssl/test/tests.com')
| -rw-r--r-- | src/lib/libssl/test/tests.com | 46 |
1 files changed, 7 insertions, 39 deletions
diff --git a/src/lib/libssl/test/tests.com b/src/lib/libssl/test/tests.com index d151cd3955..88a33d0531 100644 --- a/src/lib/libssl/test/tests.com +++ b/src/lib/libssl/test/tests.com | |||
| @@ -6,17 +6,11 @@ $ __proc = f$element(0,";",f$environment("procedure")) | |||
| 6 | $ __here = f$parse(f$parse("A.;",__proc) - "A.;","[]A.;") - "A.;" | 6 | $ __here = f$parse(f$parse("A.;",__proc) - "A.;","[]A.;") - "A.;" |
| 7 | $ __save_default = f$environment("default") | 7 | $ __save_default = f$environment("default") |
| 8 | $ __arch := VAX | 8 | $ __arch := VAX |
| 9 | $ if f$getsyi("cpu") .ge. 128 then - | 9 | $ if f$getsyi("cpu") .ge. 128 then __arch := AXP |
| 10 | __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") | ||
| 11 | $ if __arch .eqs. "" then __arch := UNK | ||
| 12 | $ texe_dir := sys$disk:[-.'__arch'.exe.test] | 10 | $ texe_dir := sys$disk:[-.'__arch'.exe.test] |
| 13 | $ exe_dir := sys$disk:[-.'__arch'.exe.apps] | 11 | $ exe_dir := sys$disk:[-.'__arch'.exe.apps] |
| 14 | $ | 12 | $ |
| 15 | $ sslroot = f$parse("sys$disk:[-.apps];",,,,"syntax_only") - "].;"+ ".]" | ||
| 16 | $ define /translation_attributes = concealed sslroot 'sslroot' | ||
| 17 | $ | ||
| 18 | $ set default '__here' | 13 | $ set default '__here' |
| 19 | $ | ||
| 20 | $ on control_y then goto exit | 14 | $ on control_y then goto exit |
| 21 | $ on error then goto exit | 15 | $ on error then goto exit |
| 22 | $ | 16 | $ |
| @@ -24,18 +18,14 @@ $ if p1 .nes. "" | |||
| 24 | $ then | 18 | $ then |
| 25 | $ tests = p1 | 19 | $ tests = p1 |
| 26 | $ else | 20 | $ else |
| 27 | $! NOTE: This list reflects the list of dependencies following the | ||
| 28 | $! "alltests" target in Makefile. This should make it easy to see | ||
| 29 | $! if there's a difference that needs to be taken care of. | ||
| 30 | $ tests := - | 21 | $ tests := - |
| 31 | test_des,test_idea,test_sha,test_md4,test_md5,test_hmac,- | 22 | test_des,test_idea,test_sha,test_md4,test_md5,test_hmac,- |
| 32 | test_md2,test_mdc2,test_wp,- | 23 | test_md2,test_mdc2,- |
| 33 | test_rmd,test_rc2,test_rc4,test_rc5,test_bf,test_cast,test_aes,- | 24 | test_rmd,test_rc2,test_rc4,test_rc5,test_bf,test_cast,test_rd,- |
| 34 | test_rand,test_bn,test_ec,test_ecdsa,test_ecdh,- | 25 | test_rand,test_bn,test_ec,test_ecdsa,test_ecdh,- |
| 35 | test_enc,test_x509,test_rsa,test_crl,test_sid,- | 26 | test_enc,test_x509,test_rsa,test_crl,test_sid,- |
| 36 | test_gen,test_req,test_pkcs7,test_verify,test_dh,test_dsa,- | 27 | test_gen,test_req,test_pkcs7,test_verify,test_dh,test_dsa,- |
| 37 | test_ss,test_ca,test_engine,test_evp,test_ssl,test_tsa,test_ige,- | 28 | test_ss,test_ca,test_engine,test_evp,test_ssl,test_ige,test_jpake |
| 38 | test_jpake,test_cms | ||
| 39 | $ endif | 29 | $ endif |
| 40 | $ tests = f$edit(tests,"COLLAPSE") | 30 | $ tests = f$edit(tests,"COLLAPSE") |
| 41 | $ | 31 | $ |
| @@ -53,7 +43,6 @@ $ MD2TEST := md2test | |||
| 53 | $ MD4TEST := md4test | 43 | $ MD4TEST := md4test |
| 54 | $ MD5TEST := md5test | 44 | $ MD5TEST := md5test |
| 55 | $ HMACTEST := hmactest | 45 | $ HMACTEST := hmactest |
| 56 | $ WPTEST := wp_test | ||
| 57 | $ RC2TEST := rc2test | 46 | $ RC2TEST := rc2test |
| 58 | $ RC4TEST := rc4test | 47 | $ RC4TEST := rc4test |
| 59 | $ RC5TEST := rc5test | 48 | $ RC5TEST := rc5test |
| @@ -104,9 +93,6 @@ $ return | |||
| 104 | $ test_hmac: | 93 | $ test_hmac: |
| 105 | $ mcr 'texe_dir''hmactest' | 94 | $ mcr 'texe_dir''hmactest' |
| 106 | $ return | 95 | $ return |
| 107 | $ test_wp: | ||
| 108 | $ mcr 'texe_dir''wptest' | ||
| 109 | $ return | ||
| 110 | $ test_md2: | 96 | $ test_md2: |
| 111 | $ mcr 'texe_dir''md2test' | 97 | $ mcr 'texe_dir''md2test' |
| 112 | $ return | 98 | $ return |
| @@ -262,22 +248,9 @@ $ write sys$output "Generate and certify a test certificate via the 'ca' pro | |||
| 262 | $ @testca.com | 248 | $ @testca.com |
| 263 | $ endif | 249 | $ endif |
| 264 | $ return | 250 | $ return |
| 265 | $ test_aes: | 251 | $ test_rd: |
| 266 | $! write sys$output "test AES" | 252 | $ write sys$output "test Rijndael" |
| 267 | $! !mcr 'texe_dir''aestest' | 253 | $ !mcr 'texe_dir''rdtest' |
| 268 | $ return | ||
| 269 | $ test_tsa: | ||
| 270 | $ set noon | ||
| 271 | $ define/user sys$output nla0: | ||
| 272 | $ mcr 'exe_dir'openssl no-rsa | ||
| 273 | $ save_severity=$SEVERITY | ||
| 274 | $ set on | ||
| 275 | $ if save_severity | ||
| 276 | $ then | ||
| 277 | $ write sys$output "skipping testtsa.com test -- requires RSA" | ||
| 278 | $ else | ||
| 279 | $ @testtsa.com | ||
| 280 | $ endif | ||
| 281 | $ return | 254 | $ return |
| 282 | $ test_ige: | 255 | $ test_ige: |
| 283 | $ write sys$output "Test IGE mode" | 256 | $ write sys$output "Test IGE mode" |
| @@ -287,13 +260,8 @@ $ test_jpake: | |||
| 287 | $ write sys$output "Test JPAKE" | 260 | $ write sys$output "Test JPAKE" |
| 288 | $ mcr 'texe_dir''jpaketest' | 261 | $ mcr 'texe_dir''jpaketest' |
| 289 | $ return | 262 | $ return |
| 290 | $ test_cms: | ||
| 291 | $ write sys$output "CMS consistency test" | ||
| 292 | $ perl CMS-TEST.PL | ||
| 293 | $ return | ||
| 294 | $ | 263 | $ |
| 295 | $ | 264 | $ |
| 296 | $ exit: | 265 | $ exit: |
| 297 | $ set default '__save_default' | 266 | $ set default '__save_default' |
| 298 | $ deassign sslroot | ||
| 299 | $ exit | 267 | $ exit |
