Re: [libvirt-sandbox PATCH] tests: add file extension for host mounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 19, 2016 at 02:29:16PM +0100, Guido Günther wrote:
> otherwise we fail in gvir_sandbox_util_guess_image_format with
> 
>   "Cannot identify file extension in '/tmp/home'
> ---
>  libvirt-sandbox/tests/test-config.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libvirt-sandbox/tests/test-config.c b/libvirt-sandbox/tests/test-config.c
> index ac10bab..71a65c8 100644
> --- a/libvirt-sandbox/tests/test-config.c
> +++ b/libvirt-sandbox/tests/test-config.c
> @@ -53,7 +53,7 @@ int main(int argc, char **argv)
>      int ret = EXIT_FAILURE;
>      const gchar *mounts[] = {
>          "host-bind:/var/run/hell=/tmp/home",
> -        "host-image:/etc=/tmp/home",
> +        "host-image:/etc=/tmp/home/img.qcow2",
>          "host-image:/etc=/tmp/home,format=qcow2",
>          "host-bind:/tmp=",
>          NULL

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]