[libvirt] [libvirt-glib 1/3] gconfig: Start adding more formal unit tests

Christophe Fergeau cfergeau at redhat.com
Wed Jan 29 12:43:50 UTC 2014


Hey,

On Wed, Jan 29, 2014 at 12:00:22PM +0000, Daniel P. Berrange wrote:
> On Tue, Jan 28, 2014 at 02:13:18PM +0100, Christophe Fergeau wrote:
> > diff --git a/tests/test-gconfig.c b/tests/test-gconfig.c
> > new file mode 100644
> > index 0000000..bc9aac0
> > --- /dev/null
> > +++ b/tests/test-gconfig.c
> > @@ -0,0 +1,674 @@
> > +/*
> > + * test-gconfig.c: unit tests for libvirt-gconfig
> > + *
> > + * Copyright (C) 2014 Red Hat, Inc.
> > + *
> > + * Permission is hereby granted, free of charge, to any person obtaining a
> > + * copy of this software and associated documentation files (the
> > + * "Software"), to deal in the Software without restriction, including
> > + * without limitation the rights to use, copy, modify, merge, publish,
> > + * distribute, sublicense, and/or sell copies of the Software, and to
> > + * permit persons to whom the Software is furnished to do so, subject to
> > + * the following conditions:
> > + *
> > + * The above copyright notice and this permission notice shall be included
> > + * in all copies or substantial portions of the Software.
> > + *
> > + * The Software is provided "as is", without warranty of any kind, express
> > + * or implied, including but not limited to the warranties of
> > + * merchantability, fitness for a particular purpose and noninfringement.
> > + * In no event shall the authors or copyright holders be liable for any
> > + * claim, damages or other liability, whether in an action of contract,
> > + * tort or otherwise, arising from, out of or in connection with the
> > + * software or the use or other dealings in the Software.
> > + *
> > + * Author: Christophe Fergeau <cfergeau at redhat.com>
> > + */
> 
> 
> This  license header looks wrong - we're LGPLv2+ licensed

Yes, I've done this on purpose. I prefer code which could be used as sample
code for using the library to have a very permissive licence. I can change
it to LGPLv2+ if you prefer to have everything under the same licence.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140129/5086ea2e/attachment-0001.sig>


More information about the libvir-list mailing list