Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e922f9c4472353e93bb1c7724dc43de8c8548abb
Ticket: 218640ffffffffffffffffffffffffffffffffff
Testsuite errors
User & Date: nobody on 2000-10-26 01:03:34
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1570 Bug
    Version: 8.1b2
    SubmitDate: '1999-03-22'
    LastModified: '1999-03-24'
    Severity: LOW
    Status: Released
    Submitter: pat
    ChangedBy: admin
    RelatedBugIDs: 1521  1578  1580   1608
    OS: Linux
    OSVersion: 2.0.29
    Machine: Other
    FixedDate: '1999-03-24'
    FixedInVersion: 8.1b2
    ClosedDate: '2000-10-25'
    
    
    Name:
    
    Andreas Kupries
    
    
    Extensions:
    
    Base tcl 8.1b2 source distribution
    
    
    CustomShell:
    
    None.
    
    
    ReproducibleScript:
    
        configure --enable-shared
    
        make ; make tcltest ; make test
    
    
    ObservedBehavior:
    
        4 failed tests, 2 not relevant, linux just produced a different message
    
        than expected. 2 failures caused by errors in the testsuite itself.
    
        ~~~~~~~~~~~~~~~~~~~~~~~
    
    
        Tcl 8.1 tests running in interp:
    
        /home/aku/work/tcl/c/distrib/tcl8.1b2/unix/tcltest
    
        Tests running in working dir:
    
        /home/aku/work/tcl/c/distrib/tcl8.1b2/unix
    
    
        Tests began at Fri Mar 19 14:29:02 MET 1999
    
        Tests ended at Fri Mar 19 14:31:14 MET 1999
    
    
        all.tcl:Total7867Passed7639Skipped224Failed4
    
        Sourced 104 Test Files.
    
    
        Files with failing tests: fCmd.test io.test unixFCmd.test unixInit.test
    
    
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
        ~~
    
    
        ==== fCmd-6.30 CopyRenameOneFile: TclpRemoveDirectory failed FAILED
    
        ==== unixFCmd-1.7 TclpRenameFile: EXDEV FAILED
    
    
        Irrelevant, difference in expected message and message
    
        generated by Linux.
    
    
        ==== unixInit-2.6 TclpInitLibraryPath: executable relative FAILED
    
    
        Error in test itself.
    
    
        Replace[lrange ... 0 2]
    
        with[lrange ... 0 1]
    
    
        ==== io-52.8 TclCopyChannel FAILED
    
    
        Error in test itself, {} prevented substitution of '$thisScript'
    
        in script for subordinate shell.
    
    
    DesiredBehavior:
    
        No failures of the testsuite.
    
    
    Patch:
    
    *** tests/io.test.origSat Mar 20 17:33:01 1999
    
    --- tests/io.testSat Mar 20 17:34:24 1999
    
    ***************
    
    *** 6405,6418 ****
    
          removeFile pipe
    
          set f1 [open pipe w]
    
          fconfigure $f1 -translation lf
    
    !     puts $f1 {
    
      puts ready
    
      gets stdin
    
    ! set f1 [open $thisScript r]
    
    ! fconfigure $f1 -translation lf
    
    ! puts [read $f1 100]
    
    ! close $f1
    
    !     }
    
          close $f1
    
          set f1 [open "|[list $tcltest pipe]" r+]
    
          fconfigure $f1 -translation lf
    
    --- 6405,6418 ----
    
          removeFile pipe
    
          set f1 [open pipe w]
    
          fconfigure $f1 -translation lf
    
    !     puts $f1 "
    
      puts ready
    
      gets stdin
    
    ! set f1 \[open $thisScript r]
    
    ! fconfigure \$f1 -translation lf
    
    ! puts \[read \$f1 100]
    
    ! close \$f1
    
    !     "
    
          close $f1
    
          set f1 [open "|[list $tcltest pipe]" r+]
    
          fconfigure $f1 -translation lf
    
    *** tests/unixInit.test.origSat Mar 20 17:33:37 1999
    
    --- tests/unixInit.testSat Mar 20 17:33:50 1999
    
    ***************
    
    *** 114,120 ****
    
          file mkdir /tmp/sparkly/lib/tcl[info tclversion]
    
          close [open /tmp/sparkly/lib/tcl[info tclversion]/init.tcl w]
    
    
    !     set x [lrange [getlibpath /tmp/sparkly/bin/tcltest] 0 2]
    
          file delete -force /tmp/sparkly
    
          set x
    
      } [list /tmp/sparkly/lib/tcl[info tclversion] /tmp/tcl[info patchlevel]/library]
    
    --- 114,120 ----
    
          file mkdir /tmp/sparkly/lib/tcl[info tclversion]
    
          close [open /tmp/sparkly/lib/tcl[info tclversion]/init.tcl w]
    
    
    !     set x [lrange [getlibpath /tmp/sparkly/bin/tcltest] 0 1]
    
          file delete -force /tmp/sparkly
    
          set x
    
      } [list /tmp/sparkly/lib/tcl[info tclversion] /tmp/tcl[info patchlevel]/library]
    
    
    PatchFiles:
    
        tests/io.test
    
        tests/unixInit.test
    
    
    
    Related bug IDs 1521, 1578, 1580 & 1608
    
    Applied this patch!  03/24/1999 19:57 - admin -
    
  4. foundin changed to: "obsolete: 8.1b2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "61. (unused)"
  10. title changed to: "Testsuite errors"
  11. type changed to: "Bug"