X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=test%2Ftestenc.com;h=75acd6f07fa0bd44aa7ff7052633b6ab4135f0ab;hb=cd22dfbf0109ae42f650c0d0b1d0e956fe9a1574;hp=3b66f2e0d0614f5de4ac0a88b01094c8d69eda03;hpb=cde245bdcd5ff4ef580030a0c1881f307d38a6ae;p=oweals%2Fopenssl.git diff --git a/test/testenc.com b/test/testenc.com index 3b66f2e0d0..75acd6f07f 100644 --- a/test/testenc.com +++ b/test/testenc.com @@ -1,15 +1,21 @@ $! TESTENC.COM -- Test encoding and decoding $ -$ __arch := VAX -$ if f$getsyi("cpu") .ge. 128 then __arch := AXP -$ exe_dir := sys$disk:[-.'__arch'.exe.apps] +$ __arch = "VAX" +$ if f$getsyi("cpu") .ge. 128 then - + __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") +$ if __arch .eqs. "" then __arch = "UNK" +$! +$ if (p1 .eqs. 64) then __arch = __arch+ "_64" $ -$ testsrc := makefile.ssl -$ test := p.txt -$ cmd := mcr 'exe_dir'openssl +$ exe_dir = "sys$disk:[-.''__arch'.exe.apps]" +$ testsrc = "makefile." +$ test = "p.txt" +$ cmd = "mcr ''exe_dir'openssl" $ $ if f$search(test) .nes. "" then delete 'test';* -$ copy 'testsrc' 'test' +$ convert/fdl=sys$input: 'testsrc' 'test' +RECORD + FORMAT STREAM_LF $ $ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;* $ if f$search(test+"-clear") .nes. "" then delete 'test'-clear;*