|
2003-02-24
| ||
| 05:12 | • Closed ticket [668216ffff]: io.test-29.25 hangs tcltest interp plus 6 other ... artifact: 5775b21cb9 user: hobbs | |
|
2003-02-22
| ||
| 18:05 | • Open ticket [668216ffff]. artifact: 104ca52c9e user: vincentdarley | |
| 01:55 | • Pending ticket [668216ffff]. artifact: c962d5b2f8 user: hobbs | |
|
2003-01-21
| ||
| 04:31 | • Ticket [668216ffff]: 4 changes artifact: 0071bb8781 user: davygrvy | |
|
2003-01-20
| ||
| 18:56 | • Ticket [668216ffff]: 4 changes artifact: 0ca4a7a4e0 user: vincentdarley | |
| 18:48 | • Ticket [668216ffff]: 4 changes artifact: 6965cb62a2 user: vincentdarley | |
|
2003-01-15
| ||
| 07:52 | • Ticket [668216ffff]: 4 changes artifact: 3942a736e1 user: vincentdarley | |
| 07:32 | • Ticket [668216ffff]: 5 changes artifact: 47b7178b33 user: davygrvy | |
|
2003-01-14
| ||
| 23:54 | • New ticket [668216ffff]. artifact: b891892a48 user: vincentdarley | |
io.test-29.25 hangs tcltest interp
Closed / Works For Me668216ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-01-14 23:54:27
This test in the latest cvs head (worked fine with
8.4.0) hangs:
test io-29.25 {Implicit flush with Tcl_Flush to command
pipelines} {stdio} {
removeFile test3
set f [open "|[list [interpreter] $path(cat) |
[interpreter] $path(cat) > $path(test3)]" w]
puts $f "Line 1"
puts $f "Line 2"
close $f
after 100
set f [open $path(test3) r]
set x [read $f]
close $f
set x
} "Line 1\nLine 2\n"
This is with latest cvs head, and Windows 2000. I'm
not sure when this bug was introduced, but it was quite
recent.
davygrvyplain2003-01-15 07:32:47
Logged In: YES user_id=7549 It doesn't block for me. passing to andreas. He might know something about this. I remember a problem with a recent TIP that would fail to flush a blocking (or similar) and caused serial channels not to actually get closed until Tcl_Exit().
vincentdarleyplain2003-01-15 07:52:00
Logged In: YES user_id=32170 I should add that iocmd-10.5 also blocks, or at least this is the last I get a report one with: nmake -f makefile.vc test TESTFLAGS="-skip io-* -verbose start -file ioCmd.test"
vincentdarleyplain2003-01-20 18:48:22
Logged In: YES user_id=32170 If I hit 'return' in the command window, then the tests do in fact continue, so somehow these particular tests are blocking while waiting for user input... (NB hitting 'space' doesn't unblock them; it has to be return).
vincentdarleyplain2003-01-20 18:56:47
Logged In: YES user_id=32170 If I run 'nmake -f makefile.vc test' in the cygwin shell, then these tests pass -- it is only in the Windows 2000 command prompt that they hang (where I need to press return once for io.test and once for ioCmd.test).
davygrvyplain2003-01-21 04:31:12
Logged In: YES user_id=7549 I can not reproduce this. win2k with vc6 here.
hobbsplain2003-02-22 01:55:36
Logged In: YES user_id=72656 I'm not sure that hanging only in the DOS prompt is a problem. It appears to use cat and other cygwin tools. I cannot repro in cygwin ...
vincentdarleyplain2003-02-22 18:05:08
Logged In: YES user_id=32170 I think hanging at the DOS prompt is a big problem --- that's what 99.9% of Windows users have, not cygwin! The test doesn't use cygwin tools --- look at the top of io.test and you'll see that path(cat) is a Tcl script. This test is 100% Tcl. I urge you to try again, without cygwin.
hobbsplain2003-02-24 05:12:31
Logged In: YES
user_id=72656
OK, I can't repro this in the Win2K DOS prompt either.
C:\build\tcl84>make test TESTFLAGS="-file io.test"
TCL_LIBRARY="z:/cvs/tcl/tcl8.4/library"; export
TCL_LIBRARY; \
./tcltest.exe "z:\cvs\tcl\tcl8.4/tests/all.tcl" -file io.test \
| ./cat32.exe
Tests running in interp: c:/build/tcl84/tcltest.exe
Tests located in: Z:/cvs/tcl/tcl8.4/tests
Tests running in: C:/build/tcl84
Temporary files stored in C:/build/tcl84
Test files run in separate interpreters
Running tests that match: *
Skipping test files that match: l.*.test
Only running test files that match: io.test
Tests began at Sun Feb 23 2:01:23 PM Pacific Standard
Time 2003
io.test
Tests ended at Sun Feb 23 2:02:03 PM Pacific Standard
Time 2003
all.tcl: Total 457 Passed 443 Skipped 14
Failed 0
Sourced 1 Test Files.
Number of tests skipped for each constraint:
1 emptyTest
1 largefileSupport
1 macOnly
2 nonPortable
9 unixOnly
stderr32
C:\build\tcl84>
Log in (anonymous is fine) to add a comment.