Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-07-05
17:43 • Closed ticket [575850ffff]: unixNotfy.test needs writable . plus 4 other cha... artifact: 9f4816a3c2 user: dkf
2002-07-01
07:01 • New ticket [575850ffff]. artifact: 7e3f22c09a user: dgp

unixNotfy.test needs writable .

Closed / Fixed575850ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-07-01 07:01:35
See Tcl Bug 575817.

unixNotfy.test fails:

==== unixNotfy-1.1 Tcl_DeleteFileHandler FAILED
==== Contents of test case:

    catch {vwait x}
    set f [open foo w]
    fileevent $f writable {set x 1}
    vwait x
    close $f
    list [catch {vwait x} msg] $msg

---- Result was:
couldn't open "foo": permission denied
---- Result should have been (exact matching):
1 {can't wait for variable "x":  would wait forever}
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== unixNotfy-1.1 FAILED


==== unixNotfy-1.2 Tcl_DeleteFileHandler FAILED
==== Contents of test case:

    catch {vwait x}
    set f1 [open foo w]
    set f2 [open foo2 w]
    fileevent $f1 writable {set x 1}
    fileevent $f2 writable {set y 1}
    vwait x
    close $f1
    vwait y
    close $f2
    list [catch {vwait x} msg] $msg

---- Result was:
couldn't open "foo": permission denied
---- Result should have been (exact matching):
1 {can't wait for variable "x":  would wait forever}
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== unixNotfy-1.2 FAILED
dkf Closed ticket [575850ffff]. [History diff]2002-07-05 17:43:06
Log in (anonymous is fine) to add a comment.