Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a8e8ae6838deee35973def7dbe26ff015127b764
Ticket: 529661ffffffffffffffffffffffffffffffffff
cmdMZ-1.4, http-4.14 failure in Solaris
User & Date: nobody on 2002-03-13 23:30:32
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Note: This appears to be a repeat of "[454276] Test
    case errors".
    
    After a 'cvs update', building for a single platform
    and with a clean directory, 'make test' reports two
    failures:
    
    ==== cmdMZ-1.4 Tcl_PwdObjCmd: failure FAILED
    ==== Contents of test case:
    
        # We don't want this test to run on Linux because
    they do a
        # permissions caching trick which causes this to
    fail.  The
        # caching is incorrect, but we have no control over
    that.
        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 /src/tclcvs/unix/sun5-compile/foo
    ---- Result should have been (exact matching):
    1 {error getting working directory name: permission
    denied}
    ==== cmdMZ-1.4 FAILED
    
    
    ==== http-4.14 http::Event FAILED
    ==== Contents of test case:
    
        set code [catch {
            set token [http::geturl $badurl/?timeout=10
    -timeout 10000 -command {#}]
            if {[string length $token] == 0} {
                error "bogus return from http::geturl"
            }
            http::wait $token
            http::status $token
        } err]
        # error code varies among platforms.
        list $code [regexp {(connect failed|couldn't open
    socket)} $err]
    
    ---- Result was:
    0 0
    ---- Result should have been (exact matching):
    1 1
    ==== http-4.14 FAILED
    
    System details:
    configure: ../configure --enable-shared \
    --enable-threads
    make     : GNU Make version 3.79.1
    gcc      : 3.0.4
    uname -a : SunOS arrakis 5.7 Generic_106541-04 sun4u \
    sparc SUNW,Ultra-2
    
    Some experimentation with the cmdMZ-1.4 test...
    It appears the path used to get to the directory where
    the test is run affects the results. If I use a path
    which reflects a mount of a local filesystem the test
    passes. If I use a path that is a mount of a mount of a
    local filesystem the test fails.
    
    For example:
    /export/home/arrakis2/user: success
    /top/home/user            : failure
    
    where df returns something like:
    Filesystem          ...        Mounted on
    /dev/dsk/c0t1d0s3              /export/home/arrakis2
    /export/home/arrakis2/user     /top/home/user
    
    The problem with http-4.14 seems to be the local
    firewall. If I change the badurl to a machine I can
    actually reach the test produces the expected results.
    
    
  4. foundin changed to: "obsolete: 8.4a5"
  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: "18. Commands M-Z"
  10. title changed to: "cmdMZ-1.4, http-4.14 failure in Solaris"
  11. type changed to: "Bug"