[virt-tools-list] [virt-manager PATCH] tests/testdriver: Don't use invalid uid values
Martin Kletzander
mkletzan at redhat.com
Wed Dec 10 09:08:13 UTC 2014
The value 4294967295 used in the testdriver for sheepdog volume is not
valid on 32bit systems as it won't fit in uid_t and libvirt will fail
parsing that.
Running "./setup.py test" then fails with:
raise libvirtError('virConnectOpenAuth() failed')
libvirt.libvirtError: XML error: malformed owner element
Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
tests/testdriver.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/testdriver.xml b/tests/testdriver.xml
index d259a6e..d65f314 100644
--- a/tests/testdriver.xml
+++ b/tests/testdriver.xml
@@ -1830,8 +1830,8 @@ ba</description>
<format type='unknown'/>
<permissions>
<mode>0600</mode>
- <owner>4294967295</owner>
- <group>4294967295</group>
+ <owner>-1</owner>
+ <group>-1</group>
</permissions>
</target>
</volume>
--
2.2.0
More information about the virt-tools-list
mailing list