[Pkg-libvirt-commits] [libvirt-sandbox] 03/42: tests: add file extension for host mounts

Guido Guenther agx at moszumanska.debian.org
Sat May 27 16:27:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

agx pushed a commit to branch debian/experimental
in repository libvirt-sandbox.

commit 6c85dc0bbb9bdd7ec5ad0bf10b22a5148560c337
Author: Guido Günther <agx at sigxcpu.org>
Date:   Mon Mar 21 19:46:29 2016 +0100

    tests: add file extension for host mounts
    
    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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt-sandbox.git



More information about the Pkg-libvirt-commits mailing list