projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR: 1847
[openssl.git]
/
test
/
tx509.com
diff --git
a/test/tx509.com
b/test/tx509.com
index bbcf0a384b3e2ec84b84f033fae934a8a11e6cd7..cd23a354fb59ab976bacafd06eab1ca4f0bb3a77 100644
(file)
--- a/
test/tx509.com
+++ b/
test/tx509.com
@@
-1,7
+1,9
@@
$! TX509.COM -- Tests x509 certificates
$
$ __arch := VAX
$! TX509.COM -- Tests x509 certificates
$
$ __arch := VAX
-$ if f$getsyi("cpu") .ge. 128 then __arch := AXP
+$ if f$getsyi("cpu") .ge. 128 then -
+ __arch := f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
+$ if __arch .eqs. "" then __arch := UNK
$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
$
$ cmd := mcr 'exe_dir'openssl x509
$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
$
$ cmd := mcr 'exe_dir'openssl x509
@@
-10,7
+12,12
@@
$ t := testx509.pem
$ if p1 .nes. "" then t = p1
$
$ write sys$output "testing X509 conversions"
$ if p1 .nes. "" then t = p1
$
$ write sys$output "testing X509 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
$
$ write sys$output "p -> d"
$ 'cmd' -in fff.p -inform p -outform d -out f.d
@@
-52,27
+59,27
@@
$ write sys$output "p -> p"
$ 'cmd' -in f.p -inform p -outform p -out ff.p3
$ if $severity .ne. 1 then exit 3
$
$ '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
$ 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
$ 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
$ 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
$
$ if $severity .ne. 1 then exit 3
$
-$
difference/output=nl:
f.n ff.n1
+$
backup/compare
f.n ff.n1
$ if $severity .ne. 1 then exit 3
$ if $severity .ne. 1 then exit 3
-$
difference/output=nl:
f.n ff.n2
+$
backup/compare
f.n ff.n2
$ if $severity .ne. 1 then exit 3
$ if $severity .ne. 1 then exit 3
-$
difference/output=nl:
f.n ff.n3
+$
backup/compare
f.n ff.n3
$ if $severity .ne. 1 then exit 3
$
$ 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
$ 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
$ 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.*;*
$ if $severity .ne. 1 then exit 3
$
$ delete f.*;*,ff.*;*,fff.*;*