testing in production script question

Homepage Clovertech Forums Read Only Archives Cloverleaf Tcl Library testing in production script question

  • Creator
    Topic
  • #55131
    Joseph Paquette
    Participant

    Hello,

         I have a request that I am being asked to perform where we have a prod and test thread setup.   Have a table that we setup for a message to pass based on values in the message to either pass or kill the message.   Looking to see if I can call the thread name from tcl when having a script on a prod and test outbound thread.   I can

Viewing 1 reply thread
  • Author
    Replies
    • #84230
      David Barr
      Participant

      I’m not sure what you’re asking. $::HciConnName will give you the name of the current thread. You can also call [info hostname] to get the hostname where your code is running and set up some code to figure out from the hostname if you’re in test or prod.

    • #84231
      Joseph Paquette
      Participant

      Thanks,  Works perfectly

Viewing 1 reply thread
  • The forum ‘Tcl Library’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,080
Forums
28
Topics
9,258
Replies
34,286
Topic Tags
275