Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-03-13
23:30 • New ticket [529661ffff] cmdMZ-1.4, http-4.14 failure in Solaris. artifact: a8e8ae6838 user: nobody
2001-08-23
04:08 • Ticket [454276ffff] Test case errors status still Closed with 6 other change... artifact: f1532096ac user: rccall
03:18 • Ticket [454276ffff]: 6 changes artifact: 6efb683ec6 user: hobbs
02:31 • Ticket [454276ffff]: 6 changes artifact: 1085a404c8 user: rccall
01:33 • Closed ticket [454276ffff]. artifact: 1585267b92 user: hobbs
2001-08-22
17:19 • New ticket [454276ffff]. artifact: 495faf574d user: rccall

Test case errors

Closed / Works For Me454276ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-08-22 17:19:17
tcl8.4a3 built using GNU make 3.79.1.

Got the following test case errors:

==== 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.
    file delete -force foo
    file mkdir foo
    set cwd [pwd]
    cd foo
    file attr . -permissions 000
    set result [list [catch {pwd} msg] $msg]
    cd $cwd
    file delete -force foo
    set result

---- Result was:
0 /home/rccall/local/src/tcl8.4a3/unix/foo
---- Result should have been (exact matching):
1 {error getting working directory name: permission denied}
==== cmdMZ-1.4 FAILED

==== 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 [regexp {(connect failed|couldn't open socket)} $err]

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


The second of those errors I had reported for tcl8.3.3 and was told that it was a testcase problem 
that had been fixed in 8.4a3.  Apparently it has not been fixed.
hobbsplain2001-08-23 01:33:01
Logged In: YES 
user_id=72656

This works for me on Linux and Solaris.  More system info 
is needed.
rccallplain2001-08-23 02:31:36
Logged In: YES 
user_id=303025

You asked for more system info.  Here is the result of a "uname -a" command:

SunOS beanie 5.7 Generic_106541-04 sun4u sparc SUNW,Ultra-Enterprise

Is there any more info that's needed?
hobbsplain2001-08-23 03:18:02
Logged In: YES 
user_id=72656

Solaris?  The would be weird.  I have never seen cmdMZ-1.4 
fail on Solaris before.  Do you do multiple compiles?  Do 
you make sure to compile in distinct different 
directories?  Was a make distclean done between compiles?
rccallplain2001-08-23 04:08:59
Logged In: YES 
user_id=303025

I don't remember whether I tried to compile tcl8.4a3 more than once;
but if so, I'm sure I did a "make distclean" in between.

I compiled the source code under the tcl8.4a3/unix directory, which is
the same directory that the source code lives in.  That's how the INSTALL
file in the distribution says that the compilation should be done.

If it would help, I can rebuild everything from scratch, and send you a
log file showing exactly what I did.  Let me know whether you want me
to do that.
Log in (anonymous is fine) to add a comment.