Advertisement
Guest User

Untitled

a guest
Apr 26th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.46 KB | None | 0 0
  1.         set output [string trim $expect_out(buffer)]
  2.         set pattern "\"Pairing Code:\".+?\"(.+?)\""
  3.         if {![regexp -nocase $pattern $output a found]} {
  4.             # in case not found we will return "" - no need to rise fatal because for CONFERENCE (HRS) we don't have this param in some models
  5.             set found ""
  6.             #fatalError "[self method]:[my getIp] can't found $envParamName"
  7.         }
  8.        
  9.         $logger logInfo "return: $found"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement