New "fispcanisteronly" build option: only build fipscanister.o and
[openssl.git] / test / tsid.com
index a9ad69619c86106273d67f538740f78956e579e2..267ace11353ace622b33f6b9e614ad328a1f7434 100644 (file)
@@ -1,7 +1,9 @@
 $! TSID.COM  --  Tests sid 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 sess_id
@@ -10,7 +12,12 @@ $    t := testsid.pem
 $      if p1 .nes. "" then t = p1
 $
 $      write sys$output "testing session-id 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