Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3e1c7f55900e578b0b674e146f7f1dc15abe1aec
Ticket: 578163ffffffffffffffffffffffffffffffffff
Tests using viewFile fail
User & Date: kennykb on 2002-07-06 17:57:00
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    In the current HEAD, tests that use the [viewFile] command
    are still failing; we need to reconcile the Tcl tests with
    the tcltest package changes one way or the other.
    
    
    ==== io-34.11 Tcl_Seek testing flushing of buffered output FAILED
    ==== Contents of test case:
    
        set f [open $path(test3) w]
        puts $f xyz\n123
        close $f
        set f [open $path(test3) w+]
        puts $f xyzzy
        seek $f 2
        set x [gets $f]
        close $f
        list $x [viewFile test3]
    
    ---- Result was:
    zzy {xyzzy
    }
    ---- Result should have been (exact matching):
    zzy xyzzy
    ==== io-34.11 FAILED
    
    
    ==== io-40.7 POSIX open access modes: EXCL FAILED
    ==== Contents of test case:
    
        removeFile test3
        set f [open $path(test3) {WRONLY CREAT EXCL}]
        fconfigure $f -eofchar {}
        puts $f "A test line"
        close $f
        viewFile test3
    
    ---- Result was:
    A test line
    
    ---- Result should have been (exact matching):
    A test line
    ==== io-40.7 FAILED
    
  4. foundin changed to: "obsolete: 8.4b1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "kennykb"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "Tests using viewFile fail"
  11. type changed to: "Bug"