diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c
index 370e19252bbb7ff1ef2349f5989f64df9658ab56..4341c04b1eaa24ddffd0162c5d26728a27d70fa2 100644
--- a/tests/virstoragetest.c
+++ b/tests/virstoragetest.c
@@ -1274,6 +1274,26 @@ mymain(void)
"\n");
+ TEST_BACKING_PARSE("nbd+unix://?socket=/tmp/sock",
+ "\n");
+ TEST_BACKING_PARSE("nbd+unix:///?socket=/tmp/sock",
+ "\n");
+ TEST_BACKING_PARSE("nbd+unix:////?socket=/tmp/sock",
+ "\n");
+ TEST_BACKING_PARSE("nbd+unix:///exp?socket=/tmp/sock",
+ "\n");
+ TEST_BACKING_PARSE("nbd+unix:////exp?socket=/tmp/sock",
+ "\n");
TEST_BACKING_PARSE_FULL("iscsi://testuser:testpass@example.org:1234/exportname",
"