Skip to content
Tcl Source Code History Of Ticket 1018663
Login

History Of Ticket 1018663

Artifacts Associated With Ticket 1018663

  1. Ticket change [425c563b73] (rid 116358) by cjsmall on 2004-08-29 18:27:48:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      [...]
      
      
    4. foundin initialized to: "obsolete: 8.4.7"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "cjsmall"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to: "On Solaris 9 exec.test fails five tests"
    11. type initialized to: "Bug"
  2. Ticket change [52a5b3afa4] (rid 126348) by dgp on 2004-08-31 00:30:48:

    1. subsystem changed to: "27. Channel Types"
  3. Ticket change [47e50713b7] (rid 99785) by dgp on 2004-08-31 00:30:49:

    1. assignee changed to: "andreas_kupries"
    2. 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.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  4. Ticket change [cdbbf1ffc0] (rid 95943) by hobbs on 2005-05-31 09:39:21:

    1. closedate changed to: "2005-05-31T02:39:21"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      I have no problem with the 8.4 head in exec.test using cc on
      Solaris 9.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Works For Me"
    7. status changed to: "Closed"
    8. username: "hobbs"