1*** Settings ***
2Library                             telnet_library.py
3
4*** Variables ***
5${READ_END_MARKER}                  TEST
6
7*** Test Cases ***
8Should Attach To Server Socket Terminal
9    Execute Command                 mach create
10
11    ${RENODE_LOG_PORT}=             Find Free Port
12    Execute Command                 logNetwork ${RENODE_LOG_PORT}
13    Telnet Connect                  ${RENODE_LOG_PORT}
14
15    Execute Command                 log "${READ_END_MARKER}"
16
17    ${log_data}=                    Telnet Read Until  ${READ_END_MARKER}
18    Should Contain                  ${log_data}  ${READ_END_MARKER}
19