make test fails on Solaris 2.6
Closed / Fixed218074ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:53
OriginalBugID: 1628 Bug
Version: 8.1b2
SubmitDate: '1999-03-25'
LastModified: '1999-04-06'
Severity: MED
Status: Closed
Submitter: pat
ChangedBy: surles
OS: Solaris
OSVersion: 2.6
Machine: Other
FixedDate: '2000-10-25'
ClosedDate: '1999-04-06'
Name:
Larry W. Virden
Extensions:
none
CustomShell:
I have made one patch - to fix the problem in tclCmdIL.c that prevented Tcl 8.1b2 from compiling out of the box.
ReproducibleScript:
make test
ObservedBehavior:
event.test
==== event-11.5 Tcl_VwaitCmd procedure: round robin scheduling, 2
sources FAILED
==== Contents of test case:
set f1 [open test1 w]
proc accept {s args} {
puts $s foobar
close $s
}
set s1 [socket -server accept 5001]
set s2 [socket 127.0.0.1 5001]
close $s1
set x 0
set y 0
set z 0
fileevent $s2 readable { incr z }
vwait z
fileevent $f1 writable { incr x; if { $y == 3 } { set z done } }
fileevent $s2 readable { incr y; if { $x == 3 } { set z done } }
vwait z
close $f1
close $s2
file delete test1 test2
list $x $y $z
==== Test generated error:
couldn't open socket: address already in use
---- Result should have been:
3 3 done
==== event-11.5 FAILED
io.test
==== io-13.6 TranslateInputEOL: auto mode: saw cr in last segment
FAILED
==== Contents of test case:
# (chanPtr->flags & INPUT_SAW_CR)
set f [open "|[list $tcltest cat]" w+]
fconfigure $f -blocking 0 -buffering none -translation {auto lf}
fileevent $f read "ready $f"
proc ready {f} {
lappend ::x [read $f] [testchannel queuedcr $f]
}
set x {}
puts -nonewline $f "abcdefghj\r"
after 100 {set y ok}
vwait y
puts -nonewline $f "\n01234"
after 100 {set y ok}
vwait y
close $f
set x
---- Result was:
---- Result should have been:
{abcdefghj
} 1 01234 0
==== io-13.6 FAILED
==== io-52.8 TclCopyChannel FAILED
==== Contents of test case:
removeFile test1
removeFile pipe
set f1 [open pipe w]
fconfigure $f1 -translation lf
puts $f1 {
puts ready
gets stdin
set f1 [open $thisScript r]
fconfigure $f1 -translation lf
puts [read $f1 100]
close $f1
}
close $f1
set f1 [open "|[list $tcltest pipe]" r+]
fconfigure $f1 -translation lf
gets $f1
puts $f1 ready
flush $f1
set f2 [open test1 w]
fconfigure $f2 -translation lf
set s0 [fcopy $f1 $f2 -size 40]
catch {close $f1}
close $f2
list $s0 [file size test1]
---- Result was:
0 0
---- Result should have been:
40 40
==== io-52.8 FAILED
unixInit.test
==== unixInit-2.6 TclpInitLibraryPath: executable relative FAILED
==== Contents of test case:
file delete -force /tmp/sparkly
file mkdir /tmp/sparkly/bin
file copy $tcltest /tmp/sparkly/bin/tcltest
file mkdir /tmp/sparkly/lib/tcl[info tclversion]
close [open /tmp/sparkly/lib/tcl[info tclversion]/init.tcl w]
set x [lrange [getlibpath /tmp/sparkly/bin/tcltest] 0 2]
file delete -force /tmp/sparkly
set x
---- Result was:
/tmp/sparkly/lib/tcl8.1 /tmp/tcl8.1b2/library /usr/tcl81/lib/tcl8.1
---- Result should have been:
/tmp/sparkly/lib/tcl8.1 /tmp/tcl8.1b2/library
==== unixInit-2.6 FAILED
DesiredBehavior:
all tests pass
Stale report. 04/06/1999 14:36 - surles -
welch Closed ticket [218074ffff].
[History diff]2000-10-26 08:13:46
dgp Ticket [218074ffff]: 3 changes
[History diff]2001-04-05 08:23:12
Log in (anonymous is fine) to add a comment.