Signed-off-by: yangdongsheng <[email protected]>
---
virttest/virsh.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/virttest/virsh.py b/virttest/virsh.py
index 88fdfc9..2a77ff0 100644
--- a/virttest/virsh.py
+++ b/virttest/virsh.py
@@ -117,7 +117,7 @@ class VirshSession(aexpect.ShellSession):
ERROR_REGEX_LIST = ['error:\s*.+$', '.*failed.*']
def __init__(self, virsh_exec=None, uri=None, a_id=None,
- prompt=r"virsh\s*\#\s*"):
+ prompt=r"virsh\s*[\#\>]\s*"):
"""
Initialize virsh session server, or client if id set.
--
1.7.1
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel