Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 84 by rita.m....@gmail.com: "Read Until Prompt" only returns the
last line of the output
http://code.google.com/p/robotframework-sshlibrary/issues/detail?id=84
System Info:
- SSHLibrary version: 1.1
- Robot Framework version: 2.8.1
- Interpreter: Python 2.7
- Operating system: Windows 7 Enterprise 32-bit
Problem Description:
Hi
When I execute the following commands I intend to check the status of a
service
Write service crond status
${output}= Read Until Prompt
I expect to obtain the following output (which is the one showed on the
putty console) in order to see if it contains the word "running":
INFO : ${output}= crond (pid 12410) is running...
INFO : [root@server~]#
But I always obtain only the last line of the output, the Prompt:
20130913 22:13:00.241 : INFO : Writing u'service crond status'
20130913 22:13:00.241 : INFO : service crond status
20130913 22:13:00.351 : INFO : [root@server ~]#
20130913 22:13:00.351 : INFO : ${output} = [root@server ~]#
How can I ignore newlines that exist on the output so I can retrieve the
whole output text?
Thanks in advance
Best Regards
Rita.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.