Skip to contentSkip to conversation

KVM Test: Remove qemu prompt from send_monitor_cmd return data.

PATCH New Feng Yang 1 participant 1 message Jun 7, 2010 KVM

lore
Share & tools
lore

Feng Yang

author
#0 lore raw

PATCH 1/1 KVM Test: Remove qemu prompt from send_monitor_cmd return data.

---
 client/tests/kvm/kvm_vm.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
client/tests/kvm/kvm_vm.py +1 -0
index 3943207..9f9f697 100755
@@ -645,6 +645,7 @@ class VM:
                                   "output so far:" +
                                   kvm_utils.format_str_for_message(data))
                     return (1, data)
+            data = "".join(data.rstrip().splitlines(True)[:-1])
             return (0, data)
 
         # Clean up before exiting
Signature · 1 line
1.6.5.2