test/Makefile: allow emulated test (e.g. under wine).
[openssl.git] / test / tpkcs7.com
index e107cc141a882e045f5c3ba7099ef7fb819b363b..3fc4982bb009563e8bca2cc65491cdb4bb98b671 100644 (file)
@@ -1,14 +1,17 @@
 $! TPKCS7.COM  --  Tests pkcs7 keys
 $
-$      __arch := VAX
+$      __arch = "VAX"
 $      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]
+$      if __arch .eqs. "" then __arch = "UNK"
+$!
+$      if (p2 .eqs. "64") then __arch = __arch+ "_64"
+$!
+$      exe_dir = "sys$disk:[-.''__arch'.exe.apps]"
 $
-$      cmd := mcr 'exe_dir'openssl pkcs7
+$      cmd = "mcr ''exe_dir'openssl pkcs7"
 $
-$      t := testp7.pem
+$      t = "testp7.pem"
 $      if p1 .nes. "" then t = p1
 $
 $      write sys$output "testing PKCS7 conversions"