Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 49e9b7377e3db3c1ebefef712136b60d2e90bbf2ef8d5ed206f0e27feeef5e16
Ticket: 255c116110151b78349ccb7cc82cd55a20ceb0b9
freebsd: test failures
User & Date: bll on 2020-07-23 19:52:12
Changes

  1. icomment:
    I think the socket test was just a mis-configuration of ipv6.
    Adding 'fe80::1 freebsd12' to /etc/hosts fixed the socket test.
    
    But after doing that, an http test fails:
    
    ==== http-4.14 http::Event FAILED
    ==== Contents of test case:
    
        set token [http::geturl $badurl/?timeout=10 -timeout 10000 -command \#]
        if {$token eq ""} {
    	error "bogus return from http::geturl"
        }
        http::wait $token
        lindex [http::error $token] 0
    
    ---- Result was:
    
    ---- Result should have been (exact matching):
    connect failed connection refused
    ==== http-4.14 FAILED
    
    
    The other test can modified as below:
    
    test unixFCmd-20.1 {SetReadOnlyAttribute} -match regexp -setup {
        catch {file delete -force -- foo.test}
    } -constraints {unix notRoot readonlyAttr} -body {
        close [open foo.test w]
        catch {file attributes foo.test -readonly 1} err res
        if { [lindex [dict get $res -errorcode] 1] eq "ENOTSUP" } {
          set result ENOTSUP
        } else {
          set result [list [catch {file attributes foo.test -readonly 1} msg] $msg \
    	    [catch {file attribute foo.test -readonly} msg] $msg \
    	    [catch {file delete -force -- foo.test}] \
    	    [catch {file attributes foo.test -readonly 0} msg] $msg \
    	    [catch {file attribute foo.test -readonly} msg] $msg]
        }
        set result
    } -cleanup {
        file delete -force -- foo.test
    } -result "^(ENOTSUP|[list 0 {} 0 1 1 0 {} 0 0])\$"
    
  2. login: "bll"
  3. mimetype: "text/plain"