Signed-off-by: Ashish Mittal <Ashish.Mittal(a)veritas.com>
---
tests/virstoragetest.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c
index d83db78..f8444e1 100644
--- a/tests/virstoragetest.c
+++ b/tests/virstoragetest.c
@@ -1585,6 +1585,16 @@ mymain(void)
"<source protocol='sheepdog'
name='Alice'>\n"
" <host name='10.10.10.10'
port='7000'/>\n"
"</source>\n");
+
TEST_BACKING_PARSE("json:{\"file\":{\"driver\":\"vxhs\","
+
"\"vdisk-id\":\"c6718f6b-0401-441d-a8c3-1f0064d75ee0\","
+ "\"server\": {
\"host\":\"example.com\","
+
"\"port\":\"1234\""
+ "}"
+ "}"
+ "}",
+ "<source protocol='vxhs'
name='c6718f6b-0401-441d-a8c3-1f0064d75ee0'>\n"
+ " <host name='example.com'
port='1234'/>\n"
+ "</source>\n");
#endif /* WITH_YAJL */
cleanup:
--
2.5.5