Skip to content
Tcl Source Code History Of Ticket 611922ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 611922ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 611922ffffffffffffffffffffffffffffffffff

  1. Ticket change [c9ae1e7314] (rid 122333) by taback on 2002-09-20 00:49:49:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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
      
      
    4. foundin initialized to: "obsolete: 8.4.0"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "taback"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to: "Return code incorrectly reported"
    11. type initialized to: "Bug"
  2. Ticket change [8b8f15c7c5] (rid 127589) by dgp on 2002-09-23 01:17:10:

    1. closedate changed to: "2002-09-22T18:17:10"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      fixed for 2.2.1
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"