|
2003-01-29
| ||
| 01:12 | • Deleted ticket [675931ffff]: 3 failed test cases plus 8 other changes artifact: a0770bc961 user: dgp | |
|
2003-01-28
| ||
| 06:13 | • New ticket [675931ffff]. artifact: affd85dee2 user: nobody | |
3 failed test cases
Deleted675931ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-01-28 06:13:59
Are these failures fatal and any bug fix/walkaround?
Thanks!
(note: compile ok without any warning but fail for 3 test
cases).
platform:
SunOS 5.9 Generic sun4u sparc SUNW,UltraAX-i2
compiler:
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-
solaris2.9/3.2.1/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --
with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.2.1
compiled & run test with normal user account, the
following cases failed:
==== cmdMZ-1.4 Tcl_PwdObjCmd: failure FAILED
==== Contents of test case:
# We don't want this test to run on Linux because
they do a
# permissions caching trick which causes this to fail.
The
# caching is incorrect, but we have no control over
that.
set foodir [file join [temporaryDirectory] foo]
file delete -force $foodir
file mkdir $foodir
set cwd [pwd]
cd $foodir
file attr . -permissions 000
set result [list [catch {pwd} msg] $msg]
cd $cwd
file delete -force $foodir
set result
---- Result was:
0 /opt/netsim/tcl8.4.1/unix/foo
---- Result should have been (exact matching):
1 {error getting working directory name: permission
denied}
==== cmdMZ-1.4 FAILED
note: i own /opt/netsim/tcl8.4.1 and sub-dirs.
==== safe-7.1 tests that everything works at high level
FAILED
==== Contents of test case:
set i [safe::interpCreate];
# no error shall occur:
# (because the default access_path shall include 1st
level sub dirs
# so package require in a slave works like in the
master)
set v [interp eval $i {package require http 1}]
# no error shall occur:
interp eval $i {http_config};
safe::interpDelete $i
set v
---- Result was:
can't read "::tcl_platform(os)": no such element in array
---- Result should have been (exact matching):
1.0
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== safe-7.1 FAILED
==== safe-7.2 tests specific path and
interpFind/AddToAccessPath FAILED
==== Contents of test case:
set i [safe::interpCreate -nostat -nested 1 -
accessPath [list [info library]]];
# should not add anything (p0)
set token1 [safe::interpAddToAccessPath $i [info
library]]
# should add as p1
set token2 [safe::interpAddToAccessPath
$i "/dummy/unixlike/test/path"];
# an error shall occur (http is not anymore in the
secure 0-level
# provided deep path)
list $token1 $token2 [catch {interp eval $i {package
require http 1}} msg] $msg [safe::interpConfigure $i]
[safe::interpDelete $i]
---- Result was:
{$p(:0:)} {$p(:1:)} 1 {can't read "::tcl_platform(os)": no
such element in array} {-accessPath {/opt/netsim/tcl8
.4.1/library /dummy/unixlike/test/path} -statics 0 -nested
1 -deleteHook {}} {}
---- Result should have been (exact matching):
{$p(:0:)} {$p(:1:)} 1 {can't find package http 1} {-
accessPath
{/opt/netsim/tcl8.4.1/library /dummy/unixlike/tes
t/path} -statics 0 -nested 1 -deleteHook {}} {}
==== safe-7.2 FAILED
dgpplain2003-01-29 01:12:01
Logged In: YES user_id=80530 Duplicate of Bugs 627660 and 529661.
Log in (anonymous is fine) to add a comment.