Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Report of tests failures

Closed / Duplicate650286ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-12-08 03:44:42
Hi,

I just compiled fine tcl8.4.1 with gcc 3.2,
but during the make test, some tests failed :

[...]
safe.test

==== 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
{/tmp/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 {/tmp/tcl8.4.1/library
/dummy/unixlike/test/path} -statics 0 -nested 1
-deleteHook {}} {}
==== safe-7.2 FAILED

[...]
unixNotfy.test
Test file error: called Tcl_FindHashEntry on deleted table
[...]
Tests ended at Sun Dec 08 04:35:27 CET 2002
all.tcl:Total10343Passed9548Skipped793Failed2
Sourced 128 Test Files.
Files with failing tests: safe.test
Number of tests skipped for each constraint:
4dontCopyLinks
47emptyTest
2hasIsoLocale
13knownBug
1largefileSupport
25localeRegexp
126macOnly
1macOrWin
2memDebug
1needPST
1nonLinuxOnly
141nonPortable
3nonRoot
368pcOnly
1singleTestInterp
21testwordend
1umask2
2unixOnly && !testthread
3unknownFailure
22wideIntegerUnparsed
3winOnly
5xdev

Test files exiting with errors:  

  unixNotfy.test


Regards,

Pierre.
dgpplain2002-12-09 03:04:54
Logged In: YES 
user_id=80530

Duplicate of bug 627660.  Already fixed.
Log in (anonymous is fine) to add a comment.