]> git.sur5r.net Git - openldap/blobdiff - tests/Make-template
Fixed memory leaks.
[openldap] / tests / Make-template
index 7e49ed6c615f31a55d20049ff9dd132f1dc61509..46675972d73d11978d378b1972fa053dffad4284 100644 (file)
@@ -17,6 +17,8 @@ SCRIPTSDIR=./scripts
 
 all:   FORCE
        @echo "Initiating LDAP tests..."; \
+       test -d test-db || $(MKDIR) test-db ; \
+       test -d test-repl || $(MKDIR) test-repl ; \
        $(SCRIPTSDIR)/all $(SCRIPTSDIR)
 
 install:       FORCE
@@ -24,7 +26,7 @@ install:      FORCE
 depend:        FORCE
 
 clean: FORCE
-       $(RM) test-db/[a-z]* test-repl/[a-z]*
+       $(RM) test-db/[!C]* test-repl/[!C]* *core
 
 veryclean:     clean