Make sure that the test input file comes in the same record format as the
[openssl.git] / test / tpkcs7.com
index 997b870fe15fa04d8b5dd5909da67beb701fac2b..047834fba42f62fc054491395a5124a59c344e1d 100644 (file)
@@ -10,7 +10,12 @@ $    t := testp7.pem
 $      if p1 .nes. "" then t = p1
 $
 $      write sys$output "testing PKCS7 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