make update
[openssl.git] / test / treq.com
index 22c22c3aa9e48af6037c63d404c7e2dcc380fbce..d2594be6a7ec5f2066f7ca6f38cfd0e065075f68 100644 (file)
@@ -1,7 +1,9 @@
 $! TREQ.COM  --  Tests req 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 req -config [-.apps]openssl-vms.cnf
@@ -13,7 +15,9 @@ $     write sys$output "testing req conversions"
 $      if f$search("fff.*") .nes "" then delete fff.*;*
 $      if f$search("ff.*") .nes "" then delete ff.*;*
 $      if f$search("f.*") .nes "" then delete f.*;*
-$      copy 't' fff.p
+$      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