|
2002-09-23
| ||
| 01:17 | • Closed ticket [611922ffff]: Return code incorrectly reported plus 7 other ch... artifact: 8b8f15c7c5 user: dgp | |
|
2002-09-20
| ||
| 00:49 | • New ticket [611922ffff]. artifact: c9ae1e7314 user: taback | |
Return code incorrectly reported
Closed / Fixed611922ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-09-20 00:49:49
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
dgpplain2002-09-23 01:17:10
Logged In: YES user_id=80530 fixed for 2.2.1
Log in (anonymous is fine) to add a comment.