Should test interactive tcl commands using expect
Closed / Invalid219319ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:10:38
OriginalBugID: 3747 RFE Version: 1.3 SubmitDate: '1999-12-01' LastModified: '2000-02-10' Severity: LOW Status: UnAssn Submitter: jenn ChangedBy: hobbs OS: All Unix FixedDate: '2000-10-25' ClosedDate: '2000-10-25' We should use expect to test tclsh and wish interactively. Currently, there are no tests for this, and different commands are available when you start up an interactive shell (e.g. history).
dkfplain2000-12-12 22:19:51
I suppose you could make the availability of Expect into a constraint...? It isn't a good idea to blanket require it though, since many installations of Tcl don't have Expect (yet!) and we want the test suite to be as widely runnable as possible.
dkf Ticket [219319ffff]: 1 change
[History diff]2001-02-07 22:27:15
hobbs Ticket [219319ffff]: 1 change
[History diff]2002-03-23 06:06:31
dgpplain2002-03-25 03:38:45
Logged In: YES user_id=80530 This should not be necessary. tcltest 2 offers [interpreter] to give you the executable name of the current harness. Use that to [open |[interpreter]] another copy and interact with that. main.test includes examples of this.
Log in (anonymous is fine) to add a comment.