Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0c18896c00f9d2a7e08d081fdae48317474686ff
Ticket: 775394ffffffffffffffffffffffffffffffffff
A few tests in io.test & ioCmd.test fail when + in path
User & Date: cleverly on 2003-07-22 01:54:34
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tests: io-40.6, io-40.11, io-40.12, io-40.14,
    iocmd-12.2, iocmd-12.3 and iocmd-12.5 all fail if make
    test is run from a director which contains a + (or any
    other character which [regexp] and [regsub] treat
    specially) because the [regsub] in the test ends up not
    matching it's input.
    
    An example:
    
    ==== io-40.6 POSIX open access modes: EXCL FAILED
    ==== Contents of test case:
    
        removeFile test3
        set f [open $path(test3) w]
        puts $f xyzzy
        close $f
        set msg [list [catch {open $path(test3) {WRONLY
    CREAT EXCL}} msg] $msg]
        regsub " already " $msg " " msg
        regsub [file join {} $path(test3)] $msg "test3" msg
        string tolower $msg
    
    ---- Result was:
    1 {couldn't open
    "/usr/users/mcleverl/testbuild/build01+threads+langinfo+shared+load+symbols/test3":
    file exists}
    ---- Result should have been (exact matching):
    1 {couldn't open "test3": file exists}
    ==== io-40.6 FAILED
    
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "cleverly"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to:
    A few tests in io.test & ioCmd.test fail when + in path
    
  11. type changed to: "Bug"