Skip to content
Tcl Source Code View Ticket
Login

View Ticket

exec-x.x test suite failures

Closed / Out of Date3435595fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 14 years ago
Descriptionplain2011-11-09 15:30:57
Platform is sparc solaris 9, sun c compiler.
This is in regards to the cvs head downloaded from ftp.tcl.tk as tcl-trunk.zip on Nov 9, 2011

==== 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 denied}}
---- 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 denied}}
---- 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:

    exec gorp456 | [interpreter] echo a b c

---- Result was:
couldn't execute "gorp456": permission denied
---- Result should have been (exact matching):
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 file or directory}}
==== exec-13.3 FAILED

==== exec-14.4 -- switch FAILED
==== Contents of test case:

    exec -- -gorp

---- Result was:
couldn't execute "-gorp": permission denied
---- Result should have been (exact matching):
couldn't execute "-gorp": no such file or directory
==== exec-14.4 FAILED

execute.test
expr-old.test
expr.test
fCmd.test
fileName.test
fileSystem.test
for-old.test
for.test
foreach.test
format.test
get.test
history.test
http.test
Running httpd in thread tid3


Note that the last cvs head that I built and tested - which was 10-20 - these errors did not appear.
dgpplain2011-11-10 01:28:25
can't reproduce.
dgpplain2012-06-05 21:02:10
allow_comments - 1
Log in (anonymous is fine) to add a comment.