X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Ftreq.com;h=5524e485ba3d9fa54bf3522f8f690c11ee1da0e1;hp=6483fa0672089838b1bf601fa3abb097d1efa3c3;hb=4a954b56c9db99c7644b40630a02865a98123e9c;hpb=7d7d2cbcb02206f3393681f2bce198e11e2e185b diff --git a/test/treq.com b/test/treq.com index 6483fa0672..5524e485ba 100644 --- a/test/treq.com +++ b/test/treq.com @@ -4,13 +4,18 @@ $ __arch := VAX $ if f$getsyi("cpu") .ge. 128 then __arch := AXP $ exe_dir := sys$disk:[-.'__arch'.exe.apps] $ -$ cmd := mcr 'exe_dir'openssl req +$ cmd := mcr 'exe_dir'openssl req -config [-.apps]openssl-vms.cnf $ $ t := testreq.pem $ if p1 .nes. "" then t = p1 $ $ write sys$output "testing req conversions" -$ copy 't' fff.p +$ if f$search("fff.*") .nes "" then delete fff.*;* +$ if f$search("ff.*") .nes "" then delete ff.*;* +$ if f$search("f.*") .nes "" then delete f.*;* +$ convert/fdl=sys$input: 't' fff.p +RECORD + FORMAT STREAM_LF $ $ write sys$output "p -> d" $ 'cmd' -in fff.p -inform p -outform d -out f.d @@ -52,27 +57,27 @@ $ write sys$output "p -> p" $ 'cmd' -in f.p -inform p -outform p -out ff.p3 $ if $severity .ne. 1 then exit 3 $ -$ difference/output=nl: fff.p f.p +$ backup/compare fff.p f.p $ if $severity .ne. 1 then exit 3 -$ difference/output=nl: fff.p ff.p1 +$ backup/compare fff.p ff.p1 $ if $severity .ne. 1 then exit 3 -$! difference/output=nl: fff.p ff.p2 +$! backup/compare fff.p ff.p2 $! if $severity .ne. 1 then exit 3 -$ difference/output=nl: fff.p ff.p3 +$ backup/compare fff.p ff.p3 $ if $severity .ne. 1 then exit 3 $ -$! difference/output=nl: f.t ff.t1 +$! backup/compare f.t ff.t1 $! if $severity .ne. 1 then exit 3 -$! difference/output=nl: f.t ff.t2 +$! backup/compare f.t ff.t2 $! if $severity .ne. 1 then exit 3 -$! difference/output=nl: f.t ff.t3 +$! backup/compare f.t ff.t3 $! if $severity .ne. 1 then exit 3 $ -$ difference/output=nl: f.p ff.p1 +$ backup/compare f.p ff.p1 $ if $severity .ne. 1 then exit 3 -$! difference/output=nl: f.p ff.p2 +$! backup/compare f.p ff.p2 $! if $severity .ne. 1 then exit 3 -$ difference/output=nl: f.p ff.p3 +$ backup/compare f.p ff.p3 $ if $severity .ne. 1 then exit 3 $ $ delete f.*;*,ff.*;*,fff.*;*