Remove MD2 test from WIN32 as we don't compile it in by default any more.
[openssl.git] / test / tcrl.com
index f25975f2fc63bea05566792f09cd8204071123a1..48567095693f13233f0ee2c223387b21fd1887a5 100644 (file)
@@ -1,7 +1,9 @@
 $! TCRL.COM  --  Tests crl keys
 $
 $      __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 crl
@@ -10,7 +12,12 @@ $    t := testcrl.pem
 $      if p1 .nes. "" then t = p1
 $
 $      write sys$output "testing CRL 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