Tcl Source Code

Artifact [8e8cfd7b41]
Login

Artifact 8e8cfd7b4193a9f6eea66df5464bd84b744faf81:

Attachment "test.log" to ticket [1733467fff] added by fridolin 2007-06-25 16:42:09.
Warning: tclStubInit.c may be out of date.
Developers may want to run "make genstubs" to regenerate.
This warning can be safely ignored, do not report as a bug!
LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; \
TCL_LIBRARY="/T/tools/unix/build/tcl/tcl/library"; export TCL_LIBRARY; \
./tcltest /T/tools/unix/build/tcl/tcl/unix/../tests/all.tcl 
Tests running in interp:  /projekte/backup/tools/unix/build/tcl/tcl/unix/sgi6n3/tcltest
Tests located in:  /projekte/backup/tools/unix/build/tcl/tcl/tests
Tests running in:  /projekte/backup/tools/unix/build/tcl/tcl/unix/sgi6n3
Temporary files stored in /projekte/backup/tools/unix/build/tcl/tcl/unix/sgi6n3
Test files run in separate interpreters
Running tests that match:  *
Skipping test files that match:  l.*.test
Only running test files that match:  *.test
Tests began at Mon Jun 25 11:35:48 CEST 2007
append.test
appendComp.test
apply.test
assocd.test
async.test
autoMkindex.test
basic.test
binary.test
Test file error: child killed: segmentation violation
case.test
chan.test
clock.test


==== clock-40.1 regression - bad month with -timezone :localtime FAILED
==== Contents of test case:

	clock scan 2000-01-01T00:00:00 -timezone :localtime  -format %Y-%m-%dT%H:%M:%S
    
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: time value too large/small to represent
    while executing
"::tcl::clock::ConvertLocalToUTC $date[set date {}]  $TZData($timeZone)  $changeover"
    (procedure "::tcl::clock::scanproc'%Y-%m-%dT%H:%M:%S'C" line 32)
    invoked from within
"$scanner $string $base $timezone"
    (procedure "::tcl::clock::scan" line 82)
    invoked from within
"clock scan 2000-01-01T00:00:00 -timezone :localtime  -format %Y-%m-%dT%H:%M:%S"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== clock-40.1 FAILED

cmdAH.test
cmdIL.test
cmdInfo.test
cmdMZ.test
compExpr-old.test
compExpr.test
compile.test
concat.test
config.test
dcall.test
dict.test
dstring.test
encoding.test
env.test
error.test
eval.test
event.test
exec.test
execute.test
expr-old.test
Test file error: child killed: segmentation violation
expr.test
Test file error: child killed: segmentation violation
fCmd.test
fileName.test
fileSystem.test
for-old.test
for.test
foreach.test
format.test
get.test
history.test
http.test
httpold.test
if-old.test
if.test
incr-old.test
incr.test
indexObj.test
info.test


==== info-3.1 info cmdcount compiled FAILED
==== Contents of test case:

    testinfocmdcount

---- Result was:
3
---- Result should have been (exact matching):
4
==== info-3.1 FAILED



==== info-3.2 info cmdcount evaled FAILED
==== Contents of test case:

    set x [info cmdcount]
    set y 12345
    set z [info cm]
    expr $z-$x

---- Result was:
3
---- Result should have been (exact matching):
4
==== info-3.2 FAILED



==== info-3.3 info cmdcount evaled FAILED
==== Contents of test case:

    set x [info cmdcount]
    set y 12345
    set z [info cm]
    expr $z-$x

---- Result was:
3
---- Result should have been (exact matching):
4
==== info-3.3 FAILED



==== info-21.1 miscellaneous error conditions FAILED
==== Contents of test case:

    info

---- Result was:
wrong # args: should be "info option ?arg arg ...?"
---- Result should have been (exact matching):
wrong # args: should be "info subcommand ?argument ...?"
==== info-21.1 FAILED



==== info-21.2 miscellaneous error conditions FAILED
==== Contents of test case:

    info gorp

---- Result was:
bad option "gorp": must be args, body, cmdcount, commands, complete, default, exists, frame, functions, globals, hostname, level, library, loaded, locals, nameofexecutable, patchlevel, procs, script, sharedlibextension, tclversion, or vars
---- Result should have been (exact matching):
unknown or ambiguous subcommand "gorp": must be args, body, cmdcount, commands, complete, default, exists, frame, functions, globals, hostname, level, library, loaded, locals, nameofexecutable, patchlevel, procs, script, sharedlibextension, tclversion, or vars
==== info-21.2 FAILED



==== info-21.3 miscellaneous error conditions FAILED
==== Contents of test case:

    info c

---- Result was:
ambiguous option "c": must be args, body, cmdcount, commands, complete, default, exists, frame, functions, globals, hostname, level, library, loaded, locals, nameofexecutable, patchlevel, procs, script, sharedlibextension, tclversion, or vars
---- Result should have been (exact matching):
unknown or ambiguous subcommand "c": must be args, body, cmdcount, commands, complete, default, exists, frame, functions, globals, hostname, level, library, loaded, locals, nameofexecutable, patchlevel, procs, script, sharedlibextension, tclversion, or vars
==== info-21.3 FAILED



==== info-21.4 miscellaneous error conditions FAILED
==== Contents of test case:

    info l

---- Result was:
ambiguous option "l": must be args, body, cmdcount, commands, complete, default, exists, frame, functions, globals, hostname, level, library, loaded, locals, nameofexecutable, patchlevel, procs, script, sharedlibextension, tclversion, or vars
---- Result should have been (exact matching):
unknown or ambiguous subcommand "l": must be args, body, cmdcount, commands, complete, default, exists, frame, functions, globals, hostname, level, library, loaded, locals, nameofexecutable, patchlevel, procs, script, sharedlibextension, tclversion, or vars
==== info-21.4 FAILED



==== info-21.5 miscellaneous error conditions FAILED
==== Contents of test case:

    info s

---- Result was:
ambiguous option "s": must be args, body, cmdcount, commands, complete, default, exists, frame, functions, globals, hostname, level, library, loaded, locals, nameofexecutable, patchlevel, procs, script, sharedlibextension, tclversion, or vars
---- Result should have been (exact matching):
unknown or ambiguous subcommand "s": must be args, body, cmdcount, commands, complete, default, exists, frame, functions, globals, hostname, level, library, loaded, locals, nameofexecutable, patchlevel, procs, script, sharedlibextension, tclversion, or vars
==== info-21.5 FAILED



==== info-22.8 info frame, basic trace FAILED
==== Contents of test case:

    join [etrace] \n

---- Result was:
8 {type source line 728 file info.test cmd {info frame $level} proc ::etrace level 0}
7 {type eval line 2 cmd etrace}
6 {type source line 2299 file tcltest-2.3a1.tm cmd {uplevel 1 $script} proc ::tcltest::RunTest}
5 {type eval line 1 cmd {::tcltest::RunTest info-22}}
4 {type source line 1621 file tcltest-2.3a1.tm cmd {uplevel 1 $script} proc ::tcltest::Eval}
3 {type eval line 1 cmd ::tcltest::Eval\ \{::tcltest::RunTest\ info-22}
2 {type source line 1967 file tcltest-2.3a1.tm cmd {uplevel 1 [list [namespace origin Eval] $command 1]} proc ::tcltest::test}
1 {type source line 764 file info.test cmd test\ info-22.8\ \{info\ frame,\ basic\ trace\}\ \{!singleTestInter level 1}
---- Result should have been (exact matching):
8 {type source line 728 file info.test cmd {info frame $level} proc ::etrace level 0}
7 {type eval line 2 cmd etrace}
6 {type source line 2299 file tcltest.tcl cmd {uplevel 1 $script} proc ::tcltest::RunTest}
5 {type eval line 1 cmd {::tcltest::RunTest info-22}}
4 {type source line 1621 file tcltest.tcl cmd {uplevel 1 $script} proc ::tcltest::Eval}
3 {type eval line 1 cmd ::tcltest::Eval\ \{::tcltest::RunTest\ info-22}
2 {type source line 1967 file tcltest.tcl cmd {uplevel 1 [list [namespace origin Eval] $command 1]} proc ::tcltest::test}
1 {type source line 764 file info.test cmd test\ info-22.8\ \{info\ frame,\ basic\ trace\}\ \{!singleTestInter level 1}
==== info-22.8 FAILED



==== info-23.6 eval'd info frame, trace FAILED
==== Contents of test case:

    set script {etrace}
    join [eval $script] \n

---- Result was:
9 {type source line 728 file info.test cmd {info frame $level} proc ::etrace level 0}
8 {type eval line 1 cmd etrace}
7 {type eval line 3 cmd {eval $script}}
6 {type source line 2299 file tcltest-2.3a1.tm cmd {uplevel 1 $script} proc ::tcltest::RunTest}
5 {type eval line 1 cmd {::tcltest::RunTest info-23}}
4 {type source line 1621 file tcltest-2.3a1.tm cmd {uplevel 1 $script} proc ::tcltest::Eval}
3 {type eval line 1 cmd ::tcltest::Eval\ \{::tcltest::RunTest\ info-23}
2 {type source line 1967 file tcltest-2.3a1.tm cmd {uplevel 1 [list [namespace origin Eval] $command 1]} proc ::tcltest::test}
1 {type source line 798 file info.test cmd test\ info-23.6\ \{eval'd\ info\ frame,\ trace\}\ \{!singleTestInter level 1}
---- Result should have been (exact matching):
9 {type source line 728 file info.test cmd {info frame $level} proc ::etrace level 0}
8 {type eval line 1 cmd etrace}
7 {type eval line 3 cmd {eval $script}}
6 {type source line 2299 file tcltest.tcl cmd {uplevel 1 $script} proc ::tcltest::RunTest}
5 {type eval line 1 cmd {::tcltest::RunTest info-23}}
4 {type source line 1621 file tcltest.tcl cmd {uplevel 1 $script} proc ::tcltest::Eval}
3 {type eval line 1 cmd ::tcltest::Eval\ \{::tcltest::RunTest\ info-23}
2 {type source line 1967 file tcltest.tcl cmd {uplevel 1 [list [namespace origin Eval] $command 1]} proc ::tcltest::test}
1 {type source line 798 file info.test cmd test\ info-23.6\ \{eval'd\ info\ frame,\ trace\}\ \{!singleTestInter level 1}
==== info-23.6 FAILED

init.test
:	Total	25	Passed	25	Skipped	0	Failed	0
interp.test
io.test
ioCmd.test
ioUtil.test
iogt.test
join.test
lindex.test
link.test
linsert.test
list.test
listObj.test
llength.test
load.test
lrange.test
lrepeat.test
lreplace.test
lsearch.test
lset.test
lsetComp.test
macOSXFCmd.test
macOSXLoad.test
main.test
mathop.test


==== mathop-1.12 compiled +: errors FAILED
==== Contents of test case:

	+ nan 0
    
---- Test completed normally; Return code was: 0
---- Return code should have been one of: 1
==== mathop-1.12 FAILED



==== mathop-1.14 compiled +: errors FAILED
==== Contents of test case:

	+ 0 nan
    
---- Test completed normally; Return code was: 0
---- Return code should have been one of: 1
==== mathop-1.14 FAILED



==== mathop-1.30 interpreted +: errors FAILED
==== Contents of test case:

	$op nan 0
    
---- Test completed normally; Return code was: 0
---- Return code should have been one of: 1
==== mathop-1.30 FAILED



==== mathop-1.32 interpreted +: errors FAILED
==== Contents of test case:

	$op 0 nan
    
---- Test completed normally; Return code was: 0
---- Return code should have been one of: 1
==== mathop-1.32 FAILED



==== mathop-2.12 compiled *: errors FAILED
==== Contents of test case:

	* nan 0
    
---- Test completed normally; Return code was: 0
---- Return code should have been one of: 1
==== mathop-2.12 FAILED



==== mathop-2.14 compiled *: errors FAILED
==== Contents of test case:

	* 0 nan
    
---- Test completed normally; Return code was: 0
---- Return code should have been one of: 1
==== mathop-2.14 FAILED



==== mathop-2.30 interpreted *: errors FAILED
==== Contents of test case:

	$op nan 0
    
---- Test completed normally; Return code was: 0
---- Return code should have been one of: 1
==== mathop-2.30 FAILED



==== mathop-2.32 interpreted *: errors FAILED
==== Contents of test case:

	$op 0 nan
    
---- Test completed normally; Return code was: 0
---- Return code should have been one of: 1
==== mathop-2.32 FAILED



==== mathop-3.21 compiled !: error FAILED
==== Contents of test case:

	! NaN
    
---- Test completed normally; Return code was: 0
---- Return code should have been one of: 1
==== mathop-3.21 FAILED



==== mathop-3.22 interpreted !: error FAILED
==== Contents of test case:

	$op NaN
    
---- Test completed normally; Return code was: 0
---- Return code should have been one of: 1
==== mathop-3.22 FAILED



==== mathop-4.12 compiled ~: errors FAILED
==== Contents of test case:

	~ NaN
    
---- Result was:
can't use floating-point value as operand of "~"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "~"
==== mathop-4.12 FAILED



==== mathop-4.24 interpreted ~: errors FAILED
==== Contents of test case:

	$op NaN
    
---- Result was:
can't use floating-point value as operand of "~"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "~"
==== mathop-4.24 FAILED



==== mathop-6.12 compiled &: errors FAILED
==== Contents of test case:

	& nan 0
    
---- Result was:
can't use floating-point value as operand of "&"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "&"
==== mathop-6.12 FAILED



==== mathop-6.14 compiled &: errors FAILED
==== Contents of test case:

	& 0 nan
    
---- Result was:
can't use floating-point value as operand of "&"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "&"
==== mathop-6.14 FAILED



==== mathop-6.30 interpreted &: errors FAILED
==== Contents of test case:

	$op nan 0
    
---- Result was:
can't use floating-point value as operand of "&"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "&"
==== mathop-6.30 FAILED



==== mathop-6.32 interpreted &: errors FAILED
==== Contents of test case:

	$op 0 nan
    
---- Result was:
can't use floating-point value as operand of "&"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "&"
==== mathop-6.32 FAILED



==== mathop-7.12 compiled |: errors FAILED
==== Contents of test case:

	| nan 0
    
---- Result was:
can't use floating-point value as operand of "|"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "|"
==== mathop-7.12 FAILED



==== mathop-7.14 compiled |: errors FAILED
==== Contents of test case:

	| 0 nan
    
---- Result was:
can't use floating-point value as operand of "|"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "|"
==== mathop-7.14 FAILED



==== mathop-7.30 interpreted |: errors FAILED
==== Contents of test case:

	$op nan 0
    
---- Result was:
can't use floating-point value as operand of "|"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "|"
==== mathop-7.30 FAILED



==== mathop-7.32 interpreted |: errors FAILED
==== Contents of test case:

	$op 0 nan
    
---- Result was:
can't use floating-point value as operand of "|"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "|"
==== mathop-7.32 FAILED



==== mathop-8.12 compiled ^: errors FAILED
==== Contents of test case:

	^ nan 0
    
---- Result was:
can't use floating-point value as operand of "^"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "^"
==== mathop-8.12 FAILED



==== mathop-8.14 compiled ^: errors FAILED
==== Contents of test case:

	^ 0 nan
    
---- Result was:
can't use floating-point value as operand of "^"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "^"
==== mathop-8.14 FAILED



==== mathop-8.30 interpreted ^: errors FAILED
==== Contents of test case:

	$op nan 0
    
---- Result was:
can't use floating-point value as operand of "^"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "^"
==== mathop-8.30 FAILED



==== mathop-8.32 interpreted ^: errors FAILED
==== Contents of test case:

	$op 0 nan
    
---- Result was:
can't use floating-point value as operand of "^"
---- Result should have been (exact matching):
can't use non-numeric floating-point value as operand of "^"
==== mathop-8.32 FAILED

misc.test
msgcat.test
namespace-old.test
namespace.test


==== namespace-7.7 Bug 1655305 FAILED
==== Contents of test case:

    slave eval foo
    slave invokehidden infocommands

---- Test setup failed:
can't rename "::tcl::Info_commands": command doesn't exist
---- errorInfo(setup): can't rename "::tcl::Info_commands": command doesn't exist
    while executing
"rename ::tcl::Info_commands ::infocommands"
    invoked from within
"slave eval {rename ::tcl::Info_commands ::infocommands}"
    ("uplevel" body line 5)
    invoked from within
"uplevel 1 $setup"
---- errorCode(setup): NONE
==== namespace-7.7 FAILED

notify.test
obj.test
opt.test
package.test
parse.test


==== parse-5.24 Tcl_ParseCommand: {*} parsing FAILED
==== Contents of test case:

    testparser {{*}x} 0

---- Result was:
- {{*}x} 1 expand {{*}x} 1 text x 0 {}
---- Result should have been (exact matching):
- {{*}x} 1 simple x 1 text x 0 {}
==== parse-5.24 FAILED

parseExpr.test
parseOld.test
pid.test
pkg.test
:	Total	383	Passed	383	Skipped	0	Failed	0
pkgMkIndex.test
platform.test
proc-old.test
proc.test
pwd.test
reg.test
regexp.test
regexpComp.test
registry.test
rename.test
result.test


==== result-6.2 Bug 1649062 FAILED
==== Contents of test case:

    foo

---- Result was:
foo CUSTOM custom
---- Result should have been (exact matching):
foo {} {}
==== result-6.2 FAILED

safe.test
scan.test
security.test
set-old.test
set.test
socket.test
source.test
split.test
stack.test
string.test


==== string-4.1 string first, too few args FAILED
==== Contents of test case:

    list [catch {string first a} msg] $msg

---- Result was:
1 {wrong # args: should be "string first subString string ?startIndex?"}
---- Result should have been (exact matching):
1 {wrong # args: should be "string first needleString haystackString ?startIndex?"}
==== string-4.1 FAILED



==== string-4.3 string first, too many args FAILED
==== Contents of test case:

    list [catch {string first a b 5 d} msg] $msg

---- Result was:
1 {wrong # args: should be "string first subString string ?startIndex?"}
---- Result should have been (exact matching):
1 {wrong # args: should be "string first needleString haystackString ?startIndex?"}
==== string-4.3 FAILED



==== string-7.1 string last, too few args FAILED
==== Contents of test case:

    list [catch {string last a} msg] $msg

---- Result was:
1 {wrong # args: should be "string last subString string ?startIndex?"}
---- Result should have been (exact matching):
1 {wrong # args: should be "string last needleString haystackString ?startIndex?"}
==== string-7.1 FAILED



==== string-7.3 string last, too many args FAILED
==== Contents of test case:

    list [catch {string last a b c d} msg] $msg

---- Result was:
1 {wrong # args: should be "string last subString string ?startIndex?"}
---- Result should have been (exact matching):
1 {wrong # args: should be "string last needleString haystackString ?startIndex?"}
==== string-7.3 FAILED

stringComp.test


==== stringComp-4.1 string first, too few args FAILED
==== Contents of test case:

    proc foo {} {string first a}
    list [catch {foo} msg] $msg

---- Result was:
1 {wrong # args: should be "string first subString string ?startIndex?"}
---- Result should have been (exact matching):
1 {wrong # args: should be "string first needleString haystackString ?startIndex?"}
==== stringComp-4.1 FAILED



==== stringComp-4.3 string first, too many args FAILED
==== Contents of test case:

    proc foo {} {string first a b 5 d}
    list [catch {foo} msg] $msg

---- Result was:
1 {wrong # args: should be "string first subString string ?startIndex?"}
---- Result should have been (exact matching):
1 {wrong # args: should be "string first needleString haystackString ?startIndex?"}
==== stringComp-4.3 FAILED

stringObj.test
subst.test
switch.test
tcltest.test
thread.test
timer.test
tm.test
trace.test


==== trace-29.2 Tcl_CreateTrace, correct command and argc/argv arguments of trace proc FAILED
==== Contents of test case:

    testcmdtrace tracetest {set stuff [info tclversion]}

---- Result was:
{info tclversion} {info tclversion} {set stuff [info tclversion]} {set stuff 8.5}
---- Result should have been (exact matching):
{info tclversion} {info tclversion} ::tcl::Info_tclversion {::tcl::Info_tclversion} {set stuff [info tclversion]} {set stuff 8.5}
==== trace-29.2 FAILED



==== trace-36.2 dynamic trace creation: leave FAILED
==== Contents of test case:

	untraced leave
	set ::tracevar
    
---- Result was:
-*
---- Result should have been (exact matching):
-
==== trace-36.2 FAILED

unixFCmd.test
unixFile.test
unixInit.test
unixNotfy.test
unknown.test
unload.test
uplevel.test
upvar.test
utf.test
util.test
var.test
while-old.test
while.test
winConsole.test
winDde.test
winFCmd.test
winFile.test
winNotify.test
winPipe.test
winTime.test

Tests ended at Mon Jun 25 11:39:45 CEST 2007
all.tcl:	Total	20502	Passed	19460	Skipped	996	Failed	46
Sourced 136 Test Files.
Files with failing tests: clock.test info.test mathop.test namespace.test parse.test result.test string.test stringComp.test trace.test
Number of tests skipped for each constraint:
	1	!ieeeFloatingPoint
	2	95or98
	4	dontCopyLinks
	51	emptyTest
	2	hasIsoLocale
	29	knownBug
	1	largefileSupport
	100	localeRegexp
	11	longIs64bit
	14	macosxFileAttr
	13	memory
	40	nonPortable
	5	notNetworkFilesystem
	8	nt
	4	readonlyAttr
	1	testWinCPUID
	7	testaccessproc
	1	testexprparser && !ieeeFloatingPoint
	8	testopenfilechannelproc
	7	teststatproc
	121	testthread
	1	testwinclock
	21	testwordend
	3	threaded
	3	unknownFailure
	522	win
	5	xdev

Test files exiting with errors:  

  binary.test

  expr-old.test

  expr.test