Artifacts Associated With Ticket 1018663fffffffff
Ticket change [425c563b73] (rid 116358) by cjsmall on 2004-08-29 18:27:48:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.4.7"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "cjsmall"
- subsystem initialized to: "34. tcltest Package"
- title initialized to: "On Solaris 9 exec.test fails five tests"
- type initialized to: "Bug"
Ticket change [52a5b3afa4] (rid 126348) by dgp on 2004-08-31 00:30:48:
- subsystem changed to: "27. Channel Types"
Ticket change [47e50713b7] (rid 99785) by dgp on 2004-08-31 00:30:49:
- assignee changed to: "andreas_kupries"
- icomment:
Logged In: YES user_id=80530 At first glance this looks like a change in posix error code, and/or error message. After looking more carefully, we can adjust the tests to be more flexible, but I don't think these test failure indicate anything deeply wrong with Tcl. Passing on to the [exec] maintainer for more study.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [cdbbf1ffc0] (rid 95943) by hobbs on 2005-05-31 09:39:21:
- closedate changed to: "2005-05-31T02:39:21"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 I have no problem with the 8.4 head in exec.test using cc on Solaris 9.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- status changed to: "Closed"
- username: "hobbs"