Telnet via autoexpect is scuccessfull but when I use
the code generated via file (script.exp) of autoexpect
it fails
following is the output
1)Telnet to UUT from autoexpect
nux:~/home # autoexpect telnet 192.168.1.136 6500
autoexpect started, file is script.exp
Trying 192.168.1.136...
Connected...
Hi
I am trying to telnet to a Unit under test
from my SUSE Linux via expect script
following is my scrip
#!/usr/bin/expect
set tel 192.168.1.136
set port 6500
spawn telnet $tel $por
but my scrip do not telnet to unit but instead just executes the command as it is
the result
spawn telnet...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.