Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 425c563b73e6515a3301c05eb872ad8e30e6a5b1
Ticket: 1018663fffffffffffffffffffffffffffffffff
On Solaris 9 exec.test fails five tests
User & Date: cjsmall on 2004-08-29 18:27:48
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tcl 8.4.7 compiles and tests just fine on an Untra 1 or 2
    running Solaris 8.  Hovever, it fails five tests when I
    compile
    it on my SunFire V250 Solaris 9 machine:
    
    % uname -a
    SunOS belvedere 5.9 Generic_117171-05 sun4u sparc
    SUNW,Sun-Fire-V250
    
    The same tests fail regardless of the compiler or
    compiler flags used.  I have configured using:
    
        * gcc -pipe
        * cc
        * cc cc -xstrconst  -xildoff
        * cc -xarch=v8 -xstrconst -xildoff
    
    Here is the relevant output from "make test"
    
    [...]
    exec.test
    
    ==== 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": permission denied}
    {posix eacces {permission deni---->ed}}
    ---- 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.2 commands returning errors FAILED
    ==== Contents of test case:
    
        string tolower [list [catch {exec [interpreter]
    echo foo | foo123} msg] $msg----> $errorCode]
    
    ---- Result was:
    1 {couldn't execute "foo123": permission denied} {posix
    eacces {permission denie---->d}}
    ---- Result should have been (exact matching):
    1 {couldn't execute "foo123": no such file or
    directory} {posix enoent {no such ---->file or directory}}
    ==== exec-9.2 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": permission denied}
    ---- Result should have been (exact matching):
    1 {couldn't execute "gorp456": no such file or directory}
    ==== exec-9.5 FAILED
    
    
    ==== exec-13.3 setting errorCode variable FAILED
    ==== Contents of test case:
    
        set x [catch {exec _weird_cmd_} msg]
        list $x [string tolower $msg] [lindex $errorCode 0]
     [string tolower [lrange----> $errorCode 2 end]]
    
    ---- Result was:
    1 {couldn't execute "_weird_cmd_": permission denied}
    POSIX {{permission denied}---->}
    ---- Result should have been (exact matching):
    1 {couldn't execute "_weird_cmd_": no such file or
    directory} POSIX {{no such fi---->le or directory}}
    ==== exec-13.3 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": permission denied}
    ---- Result should have been (exact matching):
    1 {couldn't execute "-gorp": no such file or directory}
    ==== exec-14.4 FAILED
    
    [...]
    
    Tests ended at Sat Aug 28 13:07:50 PDT 2004
    all.tcl:        Total   10678   Passed  9794    Skipped
    879     Failed  5
    
    [...]
    
    
  4. foundin changed to: "obsolete: 8.4.7"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "cjsmall"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "On Solaris 9 exec.test fails five tests"
  11. type changed to: "Bug"