diff options
author | Richard Levitte <levitte@openssl.org> | 2000-02-26 03:59:46 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-02-26 03:59:46 +0000 |
commit | 921c9bd539346335390ecae6f12e9f5e6f5188e7 (patch) | |
tree | 4d6527682d48e8221a985f06a24363200f5b274a /test/testenc.com | |
parent | 8072c135cbea43cd7f343542420cc1a2b0a8e3b2 (diff) |
Make sure that all test files are gone before starting the tests, or
backup will complain about some version not existing. Perhaps.
Diffstat (limited to 'test/testenc.com')
-rw-r--r-- | test/testenc.com | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/testenc.com b/test/testenc.com index 5a1fc478f3..3b66f2e0d0 100644 --- a/test/testenc.com +++ b/test/testenc.com @@ -8,8 +8,12 @@ $ testsrc := makefile.ssl $ test := p.txt $ cmd := mcr 'exe_dir'openssl $ +$ if f$search(test) .nes. "" then delete 'test';* $ copy 'testsrc' 'test' $ +$ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;* +$ if f$search(test+"-clear") .nes. "" then delete 'test'-clear;* +$ $ write sys$output "cat" $ 'cmd' enc -in 'test' -out 'test'-cipher $ 'cmd' enc -in 'test'-cipher -out 'test'-clear @@ -30,6 +34,12 @@ $ open/read f 'test'-cipher-commands $ loop_cipher_commands: $ read/end=loop_cipher_commands_end f i $ write sys$output i +$ +$ if f$search(test+"-"+i+"-cipher") .nes. "" then - + delete 'test'-'i'-cipher;* +$ if f$search(test+"-"+i+"-clear") .nes. "" then - + delete 'test'-'i'-clear;* +$ $ 'cmd' 'i' -bufsize 113 -e -k test -in 'test' -out 'test'-'i'-cipher $ 'cmd' 'i' -bufsize 157 -d -k test -in 'test'-'i'-cipher -out 'test'-'i'-clear $ backup/compare 'test' 'test'-'i'-clear |