Overview
| Artifact ID: | c9ae1e7314fe79b35f63d05109d1ba8308d9e11a |
|---|---|
| Ticket: | 611922ffffffffffffffffffffffffffffffffff
Return code incorrectly reported |
| User & Date: | taback on 2002-09-20 00:49:49 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl Version: 8.4 OS: Redhat Linux 7.3 (Also Windows 2000) The return code gets incorrectly reported when a test calls error. Given the following test test a1 {Verify error return codes get correctly reported} { error Hello } {Hello} The output is ==== a1 Verify error return codes get correctly reported FAILED ==== Contents of test case: error Hello ---- Test completed normally; Return code was: 0 ---- Return code should have been one of: 0 2 ==== a1 FAILED Note that the return code is incorrectly reported as 0. In Tcl 8.3.4, the line correctly reads ---- Test generated error; Return code was: 1 - foundin changed to: "obsolete: 8.4.0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "taback"
- subsystem changed to: "34. tcltest Package"
- title changed to: "Return code incorrectly reported"
- type changed to: "Bug"