]> git.ipfire.org Git - thirdparty/openssl.git/blame - test/tcrl.com
Further BUILDENV refinement, further fool-proofing of Makefiles and
[thirdparty/openssl.git] / test / tcrl.com
CommitLineData
7d7d2cbc
UM
1$! TCRL.COM -- Tests crl keys
2$
3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
6$
7$ cmd := mcr 'exe_dir'openssl crl
8$
9$ t := testcrl.pem
10$ if p1 .nes. "" then t = p1
11$
12$ write sys$output "testing CRL conversions"
921c9bd5
RL
13$ if f$search("fff.*") .nes "" then delete fff.*;*
14$ if f$search("ff.*") .nes "" then delete ff.*;*
15$ if f$search("f.*") .nes "" then delete f.*;*
b4406973
RL
16$ convert/fdl=sys$input: 't' fff.p
17RECORD
18 FORMAT STREAM_LF
7d7d2cbc
UM
19$
20$ write sys$output "p -> d"
21$ 'cmd' -in fff.p -inform p -outform d -out f.d
22$ if $severity .ne. 1 then exit 3
23$! write sys$output "p -> t"
24$! 'cmd' -in fff.p -inform p -outform t -out f.t
25$! if $severity .ne. 1 then exit 3
26$ write sys$output "p -> p"
27$ 'cmd' -in fff.p -inform p -outform p -out f.p
28$ if $severity .ne. 1 then exit 3
29$
30$ write sys$output "d -> d"
31$ 'cmd' -in f.d -inform d -outform d -out ff.d1
32$ if $severity .ne. 1 then exit 3
33$! write sys$output "t -> d"
34$! 'cmd' -in f.t -inform t -outform d -out ff.d2
35$! if $severity .ne. 1 then exit 3
36$ write sys$output "p -> d"
37$ 'cmd' -in f.p -inform p -outform d -out ff.d3
38$ if $severity .ne. 1 then exit 3
39$
40$! write sys$output "d -> t"
41$! 'cmd' -in f.d -inform d -outform t -out ff.t1
42$! if $severity .ne. 1 then exit 3
43$! write sys$output "t -> t"
44$! 'cmd' -in f.t -inform t -outform t -out ff.t2
45$! if $severity .ne. 1 then exit 3
46$! write sys$output "p -> t"
47$! 'cmd' -in f.p -inform p -outform t -out ff.t3
48$! if $severity .ne. 1 then exit 3
49$
50$ write sys$output "d -> p"
51$ 'cmd' -in f.d -inform d -outform p -out ff.p1
52$ if $severity .ne. 1 then exit 3
53$! write sys$output "t -> p"
54$! 'cmd' -in f.t -inform t -outform p -out ff.p2
55$! if $severity .ne. 1 then exit 3
56$ write sys$output "p -> p"
57$ 'cmd' -in f.p -inform p -outform p -out ff.p3
58$ if $severity .ne. 1 then exit 3
59$
13427e45 60$ backup/compare fff.p f.p
7d7d2cbc 61$ if $severity .ne. 1 then exit 3
13427e45 62$ backup/compare fff.p ff.p1
7d7d2cbc 63$ if $severity .ne. 1 then exit 3
13427e45 64$! backup/compare fff.p ff.p2
7d7d2cbc 65$! if $severity .ne. 1 then exit 3
13427e45 66$ backup/compare fff.p ff.p3
7d7d2cbc
UM
67$ if $severity .ne. 1 then exit 3
68$
13427e45 69$! backup/compare f.t ff.t1
7d7d2cbc 70$! if $severity .ne. 1 then exit 3
13427e45 71$! backup/compare f.t ff.t2
7d7d2cbc 72$! if $severity .ne. 1 then exit 3
13427e45 73$! backup/compare f.t ff.t3
7d7d2cbc
UM
74$! if $severity .ne. 1 then exit 3
75$
13427e45 76$ backup/compare f.p ff.p1
7d7d2cbc 77$ if $severity .ne. 1 then exit 3
13427e45 78$! backup/compare f.p ff.p2
7d7d2cbc 79$! if $severity .ne. 1 then exit 3
13427e45 80$ backup/compare f.p ff.p3
7d7d2cbc
UM
81$ if $severity .ne. 1 then exit 3
82$
83$ delete f.*;*,ff.*;*,fff.*;*