]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/qemu-iotests/014
Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into staging
[mirror_qemu.git] / tests / qemu-iotests / 014
index f38af439459a92ebbe6742e2305aaa90a77f7160..b23c2db9b6e3bd1bcc3e9a639cd699665c62137c 100755 (executable)
@@ -43,6 +43,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # much of this could be generic for any format supporting snapshots
 _supported_fmt qcow2
+_supported_proto file
 _supported_os Linux
 
 TEST_OFFSETS="0 4294967296"
@@ -60,7 +61,7 @@ done
 
 # With snapshots
 for i in `seq 1 3`; do
-    $QEMU_IMG snapshot -c test$i $TEST_IMG
+    $QEMU_IMG snapshot -c test$i "$TEST_IMG"
     for offset in $TEST_OFFSETS; do
         echo With snapshot test$i, offset $offset
         for op in $TEST_OPS; do