Search Results

Search: Posts Made By: marsala
6,368
Posted By marsala
This the real output: >>> run_test_analysis() ...
This the real output:
>>> run_test_analysis()
[Info] Running DataCapture and Validation for Test(1).
[Info] Test(1) passed.
>>>

command run_test_analysis() will output Test(1) passed or...
6,368
Posted By marsala
This code to match the send_user line, there is...
This code to match the send_user line, there is no invisible character.
I try
expect -i $bashId -re "\[snr_core.serconsole.con\s+info\]\s+Telnet\s+console\s+listening\s+to\s+port\s+\[0-9]+\." ...
6,368
Posted By marsala
Expect pattern matching in the command output
This is the command output need to be matched:
[snr_core.serconsole.con info] Telnet console listening to port 42365.
(the port number changes every time)

Code to test it:...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 08:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy