[libvirt] [PATCH] virschematest: Access the right directory containing XMLs

Ján Tomko jtomko at redhat.com
Wed Jun 8 09:56:09 UTC 2016


On Wed, Jun 08, 2016 at 11:09:08AM +0200, Michal Privoznik wrote:
> So the story goes like this. The testSchemaDirs() function is
> called with: a) the schema file, b) list of the directories that
> contains XMLs documents that should be checked against the schema
> file from a). However, the directories in the list are really
> just their names and it's up to testSchemaDirs to construct the
> absolute path and call testSchemaDir() which then does the actual
> validation. The absolute path is constructed, but never actually
> used (maybe due to a typo). Thus a VPATH build is broken.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  tests/virschematest.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

ACK

Jan




More information about the libvir-list mailing list