Re: Expect with tcltest?



whytea wrote:
BTW, in tcltest, is there a way to test something you don't expect to see. For example, you don't want to see "Fault" or "Error"?

With the [::tcltest::customMatch] command you can register a new mode
for the -match option to the [::tcltest::test] command, to set
the result matcher to any command you like. Create a proc that does
the kind of matching you want and use it.

--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@xxxxxxxx Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
.



Relevant Pages

  • Re: Design question/tablelist
    ... moving common functions and GUI options into package code instead of ... The tablelist code chokes in the aquahig::aquatable proc, ... catch {destroy .dirview} ... By the looks of the error, you have an image named after some command ...
    (comp.lang.tcl)
  • Re: Definition for "Non-Battle Casualties"
    ... casualties, they were having enough real battle casualties. ... to find out a clear border between officers' fault and soldiers' fault. ... in his career the commander of TRADOC, Training and Doctrine Command, ...
    (soc.history.war.world-war-ii)
  • Re: function and structures
    ... lines,, i want to implement the same in TcL. ... is to assign to it with a set command (or some other commands such ... probably the best way is to use a Tcl array. ... Functions are declared with the proc command: ...
    (comp.lang.tcl)
  • Re: Using the HMS functions in a user RPL program.
    ... to analyze inputs and find things to fault in them than to do something which is simple and sensible with any input at all. ... act just like the built-in, and never complain unless fed a non-number (the nice thing about UserRPL is that we can just pass args to built-in commands, and let them do their own checking, ... The VERSION command was helpful for me, when making a program compatible for HP 49G-series and 49G 49gII/+. ...
    (comp.sys.hp48)
  • Re: explorer quits unexpectedly
    ... Try to register the DLL that may help and scan for Malwares on your ... 1= Open a RUN Command and type the following; ... I can't see how any of those could cause a fault when attemting to ... Read this article on the fault error message it may apply to you if you have ...
    (microsoft.public.windows.inetexplorer.ie6.browser)