Signed-off-by: Giuseppe Scrivano <gscrivan(a)redhat.com>
---
tests/domainconfdata/getfilesystem.xml | 5 +++++
tests/domainconftest.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/tests/domainconfdata/getfilesystem.xml
b/tests/domainconfdata/getfilesystem.xml
index 2ee78b4..3203666 100644
--- a/tests/domainconfdata/getfilesystem.xml
+++ b/tests/domainconfdata/getfilesystem.xml
@@ -21,6 +21,11 @@
<source dir='/'/>
<target dir='/dev'/>
</filesystem>
+ <filesystem type='mount'>
+ <model type="mtp"/>
+ <source dir='/'/>
+ <target dir='mtp share'/>
+ </filesystem>
<console type='pty'>
<target type='lxc' port='0'/>
</console>
diff --git a/tests/domainconftest.c b/tests/domainconftest.c
index 3d6ebe1..6b65f09 100644
--- a/tests/domainconftest.c
+++ b/tests/domainconftest.c
@@ -111,6 +111,7 @@ mymain(void)
DO_TEST_GET_FS("/dev", true);
DO_TEST_GET_FS("/dev/pts", false);
DO_TEST_GET_FS("/doesnotexist", false);
+ DO_TEST_GET_FS("mtp share", true);
virObjectUnref(caps);
virObjectUnref(xmlopt);
--
1.9.3