mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-12 06:04:46 -05:00
util: multi-value virTypedParameter
The `virTypedParamsValidate' function now can be instructed to allow multiple entries for some of the keys. For this flag the type with the `VIR_TYPED_PARAM_MULTIPLE' flag. Add unit tests for this new behaviour. Signed-off-by: Pavel Boldin <pboldin@mirantis.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
committed by
Michal Privoznik
parent
cb7297c150
commit
a5250449de
@@ -183,6 +183,7 @@ test_programs = virshtest sockettest \
|
||||
virhostdevtest \
|
||||
vircaps2xmltest \
|
||||
virnetdevtest \
|
||||
virtypedparamtest \
|
||||
$(NULL)
|
||||
|
||||
if WITH_REMOTE
|
||||
@@ -1233,6 +1234,11 @@ objecteventtest_SOURCES = \
|
||||
testutils.c testutils.h
|
||||
objecteventtest_LDADD = $(LDADDS)
|
||||
|
||||
virtypedparamtest_SOURCES = \
|
||||
virtypedparamtest.c testutils.h testutils.c
|
||||
virtypedparamtest_LDADD = $(LDADDS)
|
||||
|
||||
|
||||
if WITH_LINUX
|
||||
fchosttest_SOURCES = \
|
||||
fchosttest.c testutils.h testutils.c
|
||||
|
||||
Reference in New Issue
Block a user