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
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- 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 [...] - foundin changed to: "obsolete: 8.4.7"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "cjsmall"
- subsystem changed to: "34. tcltest Package"
- title changed to: "On Solaris 9 exec.test fails five tests"
- type changed to: "Bug"