Skip to content
Tcl Source Code View Ticket
Login

View Ticket

8 Tests fail on Win2k

Deleted435841ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-06-24 13:42:20
Some Tests fail on Win2k.

OS: Win2k SP2
Compiler: Microsoft VC6 SP 4

Building: Threads enabled

Test log:


set TCL_LIBRARY=../library
.\Release\tcltest.exe ../tests/all.tcl
Tests running in interp:
C:/src/tcl8.4cvs/win/Release/tcltest.exe
Tests located in:  C:/src/tcl8.4cvs/tests
Tests running in:  C:/src/tcl8.4cvs/win
Temporary files stored in C:/src/tcl8.4cvs/win
Test files run in separate interpreters
Only running test files that match:  *.test
Tests began at Mon Jun 18 20:06:13 Westeuropäische
Sommerzeit 2001
append.test
appendComp.test
assocd.test
async.test
autoMkindex.test
basic.test
binary.test
case.test
clock.test
cmdAH.test
cmdIL.test
cmdInfo.test
cmdMZ.test
compExpr-old.test
compExpr.test
compile.test
concat.test
dcall.test
dstring.test
encoding.test
env.test
error.test
eval.test
event.test
exec.test
execute.test
expr-old.test
expr.test
fCmd.test
fileName.test
for-old.test
for.test
foreach.test
format.test
get.test
history.test
http.test
Running httpd in thread 1148

==== http-4.14 http::Event FAILED
==== Contents of test case:

    set code [catch {
set token [http::geturl $badurl/?timeout=10 -timeout
10000 -command {#}]
if {[string length $token] == 0} {
    error "bogus return from http::geturl"
}
http::wait $token
http::status $token
    } err]
    # error code varies among platforms.
    list $code [string match "connect failed*" $err]

---- Result was:
1 0
---- Result should have been (exact matching):
1 1
==== http-4.14 FAILED

Warning: files left behind:
http.test:outdata
httpold.test
if-old.test
if.test
incr-old.test
incr.test
indexObj.test
info.test
init.test
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
lreplace.test
lsearch.test
macFCmd.test
misc.test
msgcat.test
namespace-old.test
namespace.test
obj.test
opt.test
osa.test
package.test
parse.test
parseExpr.test
parseOld.test
pid.test
pkg.test
pkgMkIndex.test
platform.test
proc-old.test
proc.test
pwd.test
reg.test
regexp.test
registry.test
rename.test
resource.test
result.test
safe.test
scan.test
security.test
set-old.test
set.test
socket.test
source.test
split.test
stack.test
string.test
stringComp.test
stringObj.test
subst.test
switch.test
tcltest.test

==== tcltest-6.2 tcltest -outfile a.tmp FAILED
==== Contents of test case:

    catch {exec $::tcltest::tcltest printerror.tcl
-outfile a.tmp} msg
    set result1 [catch {exec grep "a test" a.tmp}]
    set result2 [catch {exec grep "a really" a.tmp}]
    list [regexp "a test" $msg] [regexp "a really"
$msg]  $result1 $result2 [file exists a.tmp] [file
delete a.tmp]

---- Result was:
0 1 1 1 1 {}
---- Result should have been (exact matching):
0 1 0 1 1 {}
==== tcltest-6.2 FAILED


==== tcltest-6.3 tcltest -errfile a.tmp FAILED
==== Contents of test case:

    catch {exec $::tcltest::tcltest printerror.tcl
-errfile a.tmp} msg
    set result1 [catch {exec grep "a test" a.tmp}]
    set result2 [catch {exec grep "a really" a.tmp}]
    list [regexp "a test" $msg] [regexp "a really"
$msg]  $result1 $result2 [file exists a.tmp] [file
delete a.tmp]

---- Result was:
1 0 1 1 1 {}
---- Result should have been (exact matching):
1 0 1 0 1 {}
==== tcltest-6.3 FAILED


==== tcltest-6.4 tcltest -outfile a.tmp -errfile b.tmp
FAILED
==== Contents of test case:

    catch {exec $::tcltest::tcltest printerror.tcl
-outfile a.tmp -errfile b.tmp} msg
    set result1 [catch {exec grep "a test" a.tmp}]
    set result2 [catch {exec grep "a really" b.tmp}]
    list [regexp "a test" $msg] [regexp "a really"
$msg]  $result1 $result2  [file exists a.tmp] [file
delete a.tmp]  [file exists b.tmp] [file delete b.tmp]

---- Result was:
0 0 1 1 1 {} 1 {}
---- Result should have been (exact matching):
0 0 0 0 1 {} 1 {}
==== tcltest-6.4 FAILED

thread.test
timer.test

==== timer-3.2 TimerHandlerEventProc procedure:
multiple timers FAILED
==== Contents of test case:

    foreach i [after info] {
after cancel $i
    }
    foreach i {200 600 1000} {
after $i lappend x $i
    }
    after 200
    set result ""
    set x ""
    update
    lappend result $x
    after 400
    update
    lappend result $x
    after 400
    update
    lappend result $x

---- Result was:
{200 600 1000} {200 600 1000} {200 600 1000}
---- Result should have been (exact matching):
200 {200 600} {200 600 1000}
==== timer-3.2 FAILED

trace.test
unixFCmd.test
unixFile.test
unixInit.test
unixNotfy.test
unknown.test
uplevel.test
upvar.test
utf.test
util.test
var.test
while-old.test
while.test
winConsole.test
winDde.test

==== winDde-4.2 DDE execute remotely FAILED
==== Contents of test case:

    set a ""
    set child [createChildProcess child]
    dde execute -async TclEval child {set a "foo"}

    dde execute TclEval child {set done 1}

    set a

---- Result was:
remote interpreter did not respond
---- Result should have been (exact matching):

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== winDde-4.2 FAILED

winFCmd.test

==== winFCmd-2.8 TclpCopyFile: errno: EACCES FAILED
==== Contents of test case:

    cleanup
    list [catch {testfile cp nul tf1} msg] $msg

---- Result was:
1 EINVAL
---- Result should have been (exact matching):
1 EACCES
==== winFCmd-2.8 FAILED


==== winFCmd-6.11 TclpRemoveDirectory: attr == -1 FAILED
==== Contents of test case:

    cleanup
    list [catch {testfile rmdir /} msg] $msg

---- Result was:
1 {\ EEXIST}
---- Result should have been (exact matching):
1 {\ EACCES}
==== winFCmd-6.11 FAILED

winFile.test
winNotify.test
winPipe.test
winTime.test

Tests ended at Mon Jun 18 20:16:47 Westeuropäische
Sommerzeit 2001
all.tcl:
Total
9499
Passed
8650
Skipped
841
Failed
8
Sourced 123 Test Files.
Files with failing tests: http.test tcltest.test
timer.test winDde.test winFCmd.test
Number of tests skipped for each constraint:
1595
8cdrom
13doTestsWithRemoteServer
22eformat
48emptyTest
14english
2hasIsoLocale
1interactive
27knownBug
25localeRegexp
122macOnly
3macOrUnix
133nonPortable
26pkga.dllRequired
2sharedCdrive
217stdio
15testfilehandler
1testfilewait
4unixExecs
138unixOnly
2unixOnly && !testthread
3unknownFailure
andreas_kupries Ticket [435841ffff]: 1 change [History diff]2001-09-08 05:51:25
hobbsplain2001-10-13 03:57:47
Logged In: YES 
user_id=72656

These all work for me in the latest CVS (where test files 
have been updated).
Log in (anonymous is fine) to add a comment.