[virt-manager PATCH] test: fix some test suites

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

 



From: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx>

commit:
67743cbe313bc9b31875c1a9fb8330c28469bd32
c5f6c6852a9cf920c79f09dedea15c8b95d2a75b
and
98ea4cdad2e1106edc3dec07a1c3da98fb75ad77

break some test suites.

Signed-off-by: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx>
---
 tests/cli-test-xml/compare/virt-xml-add-disk-basic.xml          | 2 +-
 tests/cli-test-xml/compare/virt-xml-add-disk-create-storage.xml | 2 +-
 tests/cli-test-xml/compare/virt-xml-add-disk-notarget.xml       | 2 +-
 tests/storage-xml/pool-dir-volclone.xml                         | 4 ----
 tests/storage-xml/pool-fs-volclone.xml                          | 4 ----
 tests/storage-xml/pool-netfs-volclone.xml                       | 4 ----
 6 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/tests/cli-test-xml/compare/virt-xml-add-disk-basic.xml b/tests/cli-test-xml/compare/virt-xml-add-disk-basic.xml
index 629b7f9..2a1ae84 100644
--- a/tests/cli-test-xml/compare/virt-xml-add-disk-basic.xml
+++ b/tests/cli-test-xml/compare/virt-xml-add-disk-basic.xml
@@ -2,7 +2,7 @@
        <address type="isa" iobase="0x505"/>
      </panic>
 +    <disk type="file" device="disk">
-+      <source file="/tmp/__virtinst_cli_exist1.img"/>
++      <source file="/dev/default-pool/testvol1.img"/>
 +      <target dev="vdf" bus="virtio"/>
 +    </disk>
    </devices>
diff --git a/tests/cli-test-xml/compare/virt-xml-add-disk-create-storage.xml b/tests/cli-test-xml/compare/virt-xml-add-disk-create-storage.xml
index 687df17..36c9ff1 100644
--- a/tests/cli-test-xml/compare/virt-xml-add-disk-create-storage.xml
+++ b/tests/cli-test-xml/compare/virt-xml-add-disk-create-storage.xml
@@ -2,7 +2,7 @@
        <address type="isa" iobase="0x505"/>
      </panic>
 +    <disk type="file" device="disk">
-+      <source file="/tmp/__virtinst_cli_new1.img"/>
++      <source file="/dev/default-pool/new1.img"/>
 +      <target dev="vdd"/>
 +    </disk>
    </devices>
diff --git a/tests/cli-test-xml/compare/virt-xml-add-disk-notarget.xml b/tests/cli-test-xml/compare/virt-xml-add-disk-notarget.xml
index 6d1ddfd..af27b34 100644
--- a/tests/cli-test-xml/compare/virt-xml-add-disk-notarget.xml
+++ b/tests/cli-test-xml/compare/virt-xml-add-disk-notarget.xml
@@ -2,7 +2,7 @@
        <address type="isa" iobase="0x505"/>
      </panic>
 +    <disk type="file" device="disk">
-+      <source file="/tmp/__virtinst_cli_exist1.img"/>
++      <source file="/dev/default-pool/testvol1.img"/>
 +      <target dev="vdd"/>
 +    </disk>
    </devices>
diff --git a/tests/storage-xml/pool-dir-volclone.xml b/tests/storage-xml/pool-dir-volclone.xml
index a26bfd4..ea8ebae 100644
--- a/tests/storage-xml/pool-dir-volclone.xml
+++ b/tests/storage-xml/pool-dir-volclone.xml
@@ -13,9 +13,5 @@
       <owner>10736</owner>
       <group>10736</group>
     </permissions>
-    <compat>1.1</compat>
-    <features>
-      <lazy_refcounts/>
-    </features>
   </target>
 </volume>
diff --git a/tests/storage-xml/pool-fs-volclone.xml b/tests/storage-xml/pool-fs-volclone.xml
index 00022e7..f48639e 100644
--- a/tests/storage-xml/pool-fs-volclone.xml
+++ b/tests/storage-xml/pool-fs-volclone.xml
@@ -13,9 +13,5 @@
       <owner>10736</owner>
       <group>10736</group>
     </permissions>
-    <compat>1.1</compat>
-    <features>
-      <lazy_refcounts/>
-    </features>
   </target>
 </volume>
diff --git a/tests/storage-xml/pool-netfs-volclone.xml b/tests/storage-xml/pool-netfs-volclone.xml
index 84bed8b..d17d415 100644
--- a/tests/storage-xml/pool-netfs-volclone.xml
+++ b/tests/storage-xml/pool-netfs-volclone.xml
@@ -13,9 +13,5 @@
       <owner>10736</owner>
       <group>10736</group>
     </permissions>
-    <compat>1.1</compat>
-    <features>
-      <lazy_refcounts/>
-    </features>
   </target>
 </volume>
-- 
1.8.2.1

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux