Subject: Re: unit tests for mbuf code
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
From: Pavel Cahyna <pavel@netbsd.org>
List: tech-net
Date: 12/15/2006 09:41:37
On Thu, Dec 14, 2006 at 12:13:32PM -0500, Michael Richardson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> I know that the *BSD stacks have been "ported" to run in userspace
> multiple times over the years.  (I don't have any good references right
> now)  I'm just interested in a way to run various mbuf related code in
> userspace, so that I can do unit tests on code that I might change.
> 
> Has this been done recently?  Are there any live projects or regression
> testing systems that currently permit this?

Yes, I've done this as a part of my Google Summer of Code project.
See http://netbsd-soc.sourceforge.net/projects/mbuf/userland-testing.html

Pavel