Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5ec089caffbb21e0c83a5817b5c243de4be1694f
Ticket: 218433ffffffffffffffffffffffffffffffffff
5 tests from TCL distribution fail
User & Date: nobody on 2000-10-26 00:57:32
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 6043 Bug
    Version: 8.3.1
    SubmitDate: '2000-07-24'
    LastModified: '2000-08-14'
    Severity: SER
    Status: Closed
    Submitter: techsupp
    ChangedBy: ericm
    OS: Solaris
    OSVersion: Solaris 7 Server
    Machine: SUN Enterprise 250
    FixedDate: '2000-10-25'
    ClosedDate: '2000-08-14'
    
    
    Name:
    Larry Griffith
    
    Extensions:
    None
    
    CustomShell:
    None
    
    Comments:
    Used SUN Workshop C compiler (from WS 5.0).  gcc gives slightly worse
        results.
    
    ReproducibleScript:
    Unpack tgz file.
    In build directory:
    ./configure --enable-threads --prefix=/usr/export/local
    gmake
    gmake tests
    
    ObservedBehavior:
    Five tests fail:
    cmdAH-18.2 Tcl_FileObjCmd: executable
    cmdMZ-1.4 Tcl_PwdObjCmd: failure
    tcl_test-8.3 tcltest.a.tcl -tmpdir notReadableDir   (also 8.7 as well)
    tcl_test-8.3 tcltest.a.tcl -tmpdir notWritableDir
    
    DesiredBehavior:
    I expect Tcl to pass the tests
    
    Patch:
    No known patch
    
    PatchFiles:
    N/A
    
    -----------------------------------------------------
    Tests began at Mon Jul 24 10:42:37 EDT 2000
    append.test
    assocd.test
    async.test
    autoMkindex.test
    basic.test
    binary.test
    case.test
    clock.test
    cmdAH.test
    
    ==== cmdAH-18.2 Tcl_FileObjCmd: executable FAILED
    ==== Contents of test case:
    
    
        file executable gorp.file
    
    ---- Result was:
    1
    ---- Result should have been:
    0
    ==== cmdAH-18.2 FAILED
    
    cmdIL.test
    cmdInfo.test
    cmdMZ.test
    
    ==== cmdMZ-1.4 Tcl_PwdObjCmd: failure FAILED
    ==== Contents of test case:
    
        file delete -force foo
        file mkdir foo
        set cwd [pwd]
        cd foo
        file attr . -permissions 000
        set result [list [catch {pwd} msg] $msg]
        cd $cwd
        file delete -force foo
        set result
    
    ---- Result was:
    0 /export/home/larry/projects/tcl8.3.1/unix/foo
    ---- Result should have been:
    1 {error getting working directory name: permission denied}
    ==== cmdMZ-1.4 FAILED
    
    compExpr-old.test
    compExpr.test
    compile.test
    concat.test
    dcall.test
    dstring.test
    .
    .
    .
    switch.test
    tcltest.test
    
    ==== tcltest-8.3 tcltest a.tcl -tmpdir notReadableDir FAILED
    ==== Contents of test case:
    
        catch {exec $::tcltest::tcltest a.tcl -tmpdir $notReadableDir} msg 
        # The join is necessary because the message can be split on multiple lines
        list [regexp {not readable} [join $msg]]
    
    ---- Result was:
    0
    ---- Result should have been:
    1
    ==== tcltest-8.3 FAILED
    
    
    ==== tcltest-8.4 tcltest a.tcl -tmpdir notWriteableDir FAILED
    ==== Contents of test case:
    
        catch {exec $::tcltest::tcltest a.tcl -tmpdir $notWriteableDir} msg
        # The join is necessary because the message can be split on multiple lines
        list [regexp {not writeable} [join $msg]]
    
    ---- Result was:
    0
    ---- Result should have been:
    1
    ==== tcltest-8.4 FAILED
    
    
    ==== tcltest-8.7 tcltest a.tcl -testdir notReadableDir FAILED
    ==== Contents of test case:
    
        catch {exec $::tcltest::tcltest a.tcl -testdir $notReadableDir} msg 
        # The join is necessary because the message can be split on multiple lines
        list [regexp {not readable} [join $msg]]
    
    ---- Result was:
    0
    ---- Result should have been:
    1
    ==== tcltest-8.7 FAILED
    
    thread.test
    timer.test
    trace.test
    .
    .
    .
    Tests ended at Mon Jul 24 10:44:26 EDT 2000
    all.tcl:        Total   8959    Passed  7946    Skipped 1008    Failed  5
    Sourced 120 Test Files.
    Files with failing tests: cmdAH.test cmdMZ.test tcltest.test
    
    
    
    It looks like you may have run these tests as root.  That often confuses the tests that are dependant on filesystem permissions in some regard, because root has absolute permissions everywhere on the filesystem.  If this is the case, please try running the tests again from a normal user account and repsond if the failures remain.  Thanks,
    
       Eric Melski                            The Other Tcl Guy
       ericm at ajubasolutions.com            Ajuba Solutions
    
    -- 08/14/2000 ericm
    
    
    
  4. foundin changed to: "obsolete: 8.3.1"
  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: "69. Other"
  10. title changed to: "5 tests from TCL distribution fail"
  11. type changed to: "Bug"