Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6c164788fa029e795ec9ac79a667ee21065d74fb
Ticket: 3530533fffffffffffffffffffffffffffffffff
io.test failures on IRIX64
User & Date: dgp on 2012-06-08 02:42:39
Changes

  1. icomment:
    Adding to the top of tclUnixPipe.c
    
    #ifdef TCL_THREADS
    #  include <pthread.h>
    #endif
    
    is enough to fix these failing tests on core-8-5-branch.
    
    However, that change causes new test failures:
    
    ==== exec-9.1 commands returning errors FAILED
    ==== Contents of test case:
    
        set x [catch {exec gorp456} msg]
        list $x [string tolower $msg] [string tolower $errorCode]
    
    ---- Result was:
    1 {couldn't execute "gorp456": socket operation on non-socket} {posix enotsock {socket operation on non-socket}}
    ---- Result should have been (exact matching):
    1 {couldn't execute "gorp456": no such file or directory} {posix enoent {no such file or directory}}
    ==== exec-9.1 FAILED
    
    
    
    ==== exec-9.5 commands returning errors FAILED
    ==== Contents of test case:
    
        list [catch {exec gorp456 | [interpreter] echo a b c} msg] [string tolower $msg]
    
    ---- Result was:
    1 {couldn't execute "gorp456": socket operation on non-socket}
    ---- Result should have been (exact matching):
    1 {couldn't execute "gorp456": no such file or directory}
    ==== exec-9.5 FAILED
    
    
    
    ==== exec-14.4 -- switch FAILED
    ==== Contents of test case:
    
        list [catch {exec -- -gorp} msg] [string tolower $msg]
    
    ---- Result was:
    1 {couldn't execute "-gorp": socket operation on non-socket}
    ---- Result should have been (exact matching):
    1 {couldn't execute "-gorp": no such file or directory}
    ==== exec-14.4 FAILED
    
    ==== iocmd-11.4 I/O to command pipelines FAILED
    ==== Contents of test case:
    
        list [catch {open "| no_such_command_exists" rb} msg] $msg $::errorCode
    
    ---- Result was:
    1 {couldn't execute "no_such_command_exists": invalid argument} {POSIX EINVAL {invalid argument}}
    ---- Result should have been (exact matching):
    1 {couldn't execute "no_such_command_exists": no such file or directory} {POSIX ENOENT {no such file or directory}}
    ==== iocmd-11.4 FAILED
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"