summaryrefslogtreecommitdiffstats
path: root/test/clean_test.com
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2011-03-20 14:01:49 +0000
committerRichard Levitte <levitte@openssl.org>2011-03-20 14:01:49 +0000
commit64d30d7adcec8a6e02568095b38776ef0915be64 (patch)
tree92d841da7b08ccc6e0e2e1a5f87d967013caafef /test/clean_test.com
parent7062cb56a943c8edee87eeb52dc5746ab29fac9e (diff)
* apps/makeapps.com: Forgot to end the check for /POINTER_SIZE=64=ARGV
with turning trapping back on. * test/maketests.com: Do the same check for /POINTER_SIZE=64=ARGV here. * test/clean-test.com: A new script for cleaning up.
Diffstat (limited to 'test/clean_test.com')
-rwxr-xr-xtest/clean_test.com35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/clean_test.com b/test/clean_test.com
new file mode 100755
index 0000000000..7df633fbef
--- /dev/null
+++ b/test/clean_test.com
@@ -0,0 +1,35 @@
+$!
+$! Delete various test results files.
+$!
+$ def_orig = f$environment( "default")
+$ proc = f$environment( "procedure")
+$ proc_dev_dir = f$parse( "A.;", proc) - "A.;"
+$!
+$ on control_c then goto tidy
+$ on error then goto tidy
+$!
+$ set default 'proc_dev_dir'
+$!
+$ files := *.cms;*, *.srl;*, *.ss;*, -
+ cms.err;*, cms.out;*, newreq.pem;*, -
+ p.txt-zlib-cipher;*, -
+ smtst.txt;*, testkey.pem;*, testreq.pem;*, -
+ test_*.err;*, test_*.out;*, -
+ .rnd;*
+$!
+$ delim = ","
+$ i = 0
+$ loop:
+$ file = f$edit( f$element( i, delim, files), "trim")
+$ if (file .eqs. delim) then goto loop_end
+$ if (f$search( file) .nes. "") then -
+ delete 'p1' 'file'
+$ i = i+ 1
+$ goto loop
+$ loop_end:
+$!
+$ tidy:
+$
+$ if (f$type( def_orig) .nes. "") then -
+ set default 'def_orig'
+$!