Use the new syntax which uses the 'UnixSocket' type in qemu.
Signed-off-by: Peter Krempa
---
tests/virstoragetest.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c
index ea3d2833dd..87519495f0 100644
--- a/tests/virstoragetest.c
+++ b/tests/virstoragetest.c
@@ -1494,6 +1494,15 @@ mymain(void)
"\n"
" \n"
"\n");
+TEST_BACKING_PARSE("json:{\"file\":{\"driver\":\"nbd\","
+ "\"server\": { \"type\":\"unix\","
+
"\"path\":\"/path/socket\""
+ "}"
+ "}"
+"}",
+ "\n"
+ " \n"
+ "\n");
TEST_BACKING_PARSE("json:{\"file\":{\"driver\":\"ssh\","
"\"host\":\"example.org\","
"\"port\":\"6000\","
--
2.15.0
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list