[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Libvir] [PATCH] Test libvirtd's config-processing code.
- From: Jim Meyering <jim meyering net>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: Libvirt <libvir-list redhat com>
- Subject: Re: [Libvir] [PATCH] Test libvirtd's config-processing code.
- Date: Wed, 12 Dec 2007 08:22:23 +0100
"Daniel P. Berrange" <berrange redhat com> wrote:
> On Mon, Dec 10, 2007 at 10:13:03PM +0100, Jim Meyering wrote:
>> Until now, there has been no coverage of libvirtd's config-processing code.
>> In adding this, (and esp. in comparing actual/expected diagnostics),
>> I noticed and fixed a trivial inconsistency: for a parameter expecting
>> a string value, an invalid values, you'd get a different diagnostic for
>> the four config parameters that are parsed via remoteConfigGetAuth than
>> for all of the other config parameters (which go through checkType).
>> This fixes that, too:
>>
>> Test libvirtd's config-processing code.
>> And remove a minor diagnostic inconsistency.
>> * tests/daemon-conf: New test.
>> * tests/Makefile.am (TESTS_ENVIRONMENT): Prepend qemud/ to PATH,
>> so we can invoke libvirtd without an absolute name.
>> (test_scripts): Add daemon-conf.
>> * qemud/qemud.c (remoteConfigGetAuth): Use checkType,
>> rather than open-coding it with a different diagnostic.
>
> ACK
Thanks.
Committed.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]