[elephant-devel] open-controller for bdb doesn't accept a pathname spec

Ian Eslick eslick at media.mit.edu
Tue May 13 14:01:02 UTC 2008


I had just run into this myself too!  Anyway, I made some tweaks to  
the patch and just pushed the fix.

You could write a whitebox test for the auxiliary function I created  
called elephant-db-path which returns a pathname to probe-file  
regardless of the input spec.

Ian

On May 13, 2008, at 9:41 AM, Ryszard Szopa wrote:

> Hey,
>
> As I mentioned before, I had trouble in opening a bdb store in
> elephant-unstable. I investigated the case, and it turned out that
> open-controller for bdb didn't accept a pathname as part of the store
> specification. A patch that fixes the problem is attached.
>
> I also wrote a unit-test for the thing, but I am not really sure how
> to incorporate it to elephant-tests, so I didn't include it in the
> patch. I would be very glad if someone helped me with this.
>
> (test open-store-bdb-w-pathname
> 	    (finishes (open-store (:bdb #P"/tmp/"))))
>
> Cheers,
>
>    -- Richard
>
> -- 
> http://szopa.tasak.gda.pl/
> <open-controller-pathname- 
> spec.patch>_______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel




More information about the elephant-devel mailing list