[virt-tools-list] [virt-manager PATCH 2/2] test: update test xml

Chen Hanxiao chenhanxiao at cn.fujitsu.com
Fri Jun 5 03:14:41 UTC 2015


remove virt-xml-edit-simple-console.xml

Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
---
 tests/cli-test-xml/compare/virt-xml-edit-simple-channel.xml  |  2 +-
 tests/cli-test-xml/compare/virt-xml-edit-simple-console.xml  | 11 -----------
 tests/cli-test-xml/compare/virt-xml-edit-simple-parallel.xml |  2 +-
 3 files changed, 2 insertions(+), 13 deletions(-)
 delete mode 100644 tests/cli-test-xml/compare/virt-xml-edit-simple-console.xml

diff --git a/tests/cli-test-xml/compare/virt-xml-edit-simple-channel.xml b/tests/cli-test-xml/compare/virt-xml-edit-simple-channel.xml
index 2935216..84b4a88 100644
--- a/tests/cli-test-xml/compare/virt-xml-edit-simple-channel.xml
+++ b/tests/cli-test-xml/compare/virt-xml-edit-simple-channel.xml
@@ -1,5 +1,5 @@
      <console type="pty">
-       <target type="virtio" port="0"/>
+       <target type="virtio" port="1"/>
      </console>
 -    <channel type="pipe">
 +    <channel type="null">
diff --git a/tests/cli-test-xml/compare/virt-xml-edit-simple-console.xml b/tests/cli-test-xml/compare/virt-xml-edit-simple-console.xml
deleted file mode 100644
index 7bf3a19..0000000
--- a/tests/cli-test-xml/compare/virt-xml-edit-simple-console.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-       <target port="0"/>
-     </parallel>
-     <console type="pty">
--      <target type="virtio" port="0"/>
-+      <target type="serial" port="0"/>
-     </console>
-     <channel type="pipe">
-       <source path="/tmp/guestfwd"/>
-
-Domain 'test-for-virtxml' defined successfully.
-Changes will take effect after the next domain shutdown.
\ No newline at end of file
diff --git a/tests/cli-test-xml/compare/virt-xml-edit-simple-parallel.xml b/tests/cli-test-xml/compare/virt-xml-edit-simple-parallel.xml
index ca2c811..8513c0e 100644
--- a/tests/cli-test-xml/compare/virt-xml-edit-simple-parallel.xml
+++ b/tests/cli-test-xml/compare/virt-xml-edit-simple-parallel.xml
@@ -7,7 +7,7 @@
 +      <source path="/some/other/log"/>
        <target port="0"/>
      </parallel>
-     <console type="pty">
+     <console type="null">
 
 Domain 'test-for-virtxml' defined successfully.
 Changes will take effect after the next domain shutdown.
\ No newline at end of file
-- 
2.1.0




More information about the virt-tools-list mailing list