[libvirt] int-overflow test fails if /root is not writable and /root/.virsh does not exist yet

Eric Blake eblake at redhat.com
Wed Mar 23 19:59:16 UTC 2011


On 03/17/2011 05:43 PM, Diego Elio Pettenò wrote:
> --- err	2011-03-18 00:07:36.000000000 +0100
> +++ exp	2011-03-18 00:07:36.000000000 +0100
> @@ -1,2 +1 @@
>  error: failed to get domain '4294967298'
> -error: Failed to create '/root/.virsh': Permission denied
> FAIL: int-overflow
> 
> This has been reported in Gentoo:
> https://bugs.gentoo.org/show_bug.cgi?id=359307
> 
> I guess it is worth looking at and fix it not to fail in this case?

Creation of $HOME/.virsh should only happen in interactive mode (when
compiled with readline support); I'm not sure why this test is
triggering that, because there shouldn't be any interactive testing
going on in the test suite.  I'm looking into it now.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110323/3f000f8c/attachment-0001.sig>


More information about the libvir-list mailing list