Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 27bd65d99b2eef7ba63fe49086b1825cec92e178
Ticket: 703167ffffffffffffffffffffffffffffffffff
sparc solaris 8 test suite failure
User & Date: lvirden on 2003-03-17 23:28:26
Changes

  1. icomment:
    Logged In: YES 
    user_id=15949
    
    I next did a fresh build of tcl tcl 8.5 head using 
    ./configure  --prefix=/volws/lwv26/ldatae/tcl85
    --enable-threads --enable-shared --enable-symbols
    
    (ie only threads - no 64 bit support specified).
    
    With this configuration, I got the following test suite errors:
    
    io.test
    
    ==== io-8.4 PeekAhead: cached data available in this buffer
    FAILED
    ==== Contents of test case:
    
        # not (bytesLeft == 0)
    
        set f [open $path(test1) w+]
        fconfigure $f -translation binary
        puts $f "${a}\r\nabcdef"
        close $f
        set f [open $path(test1)]
        fconfigure $f -encoding binary -translation auto
    
        # "${a}\r" was converted in one operation (because
    ENCODING_LINESIZE
        # is 30).  To check if "\n" follows, calls PeekAhead and
    determines
        # that cached data is available in buffer w/o having to
    call driver.
    
        set x [gets $f]
        close $f
        set x    
    
    ---- Result was:
    12345678901234567890123456789012345678901234567890123456789012345678901234567890
    12345678901^@
    ---- Result should have been (exact matching):
    12345678901234567890123456789012345678901234567890123456789012345678901234567890
    12345678901
    ==== io-8.4 FAILED
    
    ioCmd.test
    
    ==== iocmd-12.6 POSIX open access modes: errors FAILED
    ==== Contents of test case:
    
        concat [catch {open $path(test3) "FOO \{BAR BAZ"} msg]
    $msg\n$errorInfo
    ---- Result was:
    1 unmatched open brace in list^@unmatched open brace in list
        while processing open access modes "FOO {BAR BAZ"
        invoked from within
    "open $path(test3) "FOO \{BAR BAZ""
    ---- Result should have been (exact matching):
    1 unmatched open brace in list
    unmatched open brace in list
        while processing open access modes "FOO {BAR BAZ"
        invoked from within
    "open $path(test3) "FOO \{BAR BAZ""
    ==== iocmd-12.6 FAILED
    
    ioUtil.test
    iogt.test
    
    ==== iogt-2.1 basic I/O, operation trail FAILED
    ==== Contents of test case:
    
        set fin  [open $path(dummy)    r]
        set fout [open $path(dummyout) w]
    
        set ain [list] ; set aout [list]
        audit_ops ain  -attach $fin
        audit_ops aout -attach $fout
    
        fconfigure $fin  -buffersize 10
        fconfigure $fout -buffersize 5
    
        fcopy $fin $fout
    
        close $fin
        close $fout
    
        set res "[join $ain \n]\n--------\n[join $aout \n]"
    ---- Result was:
    create/read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    flush/read
    delete/read^@--------
    create/write
    write
    write
    write
    write
    write
    write
    write
    write
    flush/write
    delete/write
    ---- Result should have been (exact matching):
    create/read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    read
    query/maxRead
    flush/read
    delete/read
    --------
    create/write
    write
    write
    write
    write
    write
    write
    write
    write
    flush/write
    delete/write
    ==== iogt-2.1 FAILED
    ==== iogt-2.2 basic I/O, data trail FAILED
    ==== Contents of test case:
    
        set fin  [open $path(dummy)    r]
        set fout [open $path(dummyout) w]
    
        set ain [list] ; set aout [list]
        audit_flow ain  -attach $fin
        audit_flow aout -attach $fout
    
        fconfigure $fin  -buffersize 10
        fconfigure $fout -buffersize 5
    
        fcopy $fin $fout
    
        close $fin
        close $fout
    
        set res "[join $ain \n]\n--------\n[join $aout \n]"
    
    ---- Result was:
    create/read {} *ignored*
    query/maxRead {} -1
    read abcdefghij abcdefghij
    query/maxRead {} -1
    read klmnopqrst klmnopqrst
    query/maxRead {} -1
    read uvwxyz0123 uvwxyz0123
    query/maxRead {} -1
    read 456789,./? 456789,./?
    query/maxRead {} -1
    read {><;'\|":[]} {><;'\|":[]}
    query/maxRead {} -1
    read {\}\{`~!@#$} {\}\{`~!@#$}
    query/maxRead {} -1
    read %^&*()_+-= %^&*()_+-=
    query/maxRead {} -1
    read {
    } {
    }
    query/maxRead {} -1
    flush/read {} {}
    delete/read {} *ignored*^@--------
    create/write {} *ignored*
    write abcdefghij abcdefghij
    write klmnopqrst klmnopqrst
    write uvwxyz0123 uvwxyz0123
    write 456789,./? 456789,./?
    write {><;'\|":[]} {><;'\|":[]}
    write {\}\{`~!@#$} {\}\{`~!@#$}
    write %^&*()_+-= %^&*()_+-=
    write {
    } {
    }
    flush/write {} {}
    delete/write {} *ignored*
    ---- Result should have been (exact matching):
    create/read {} *ignored*
    query/maxRead {} -1
    read abcdefghij abcdefghij
    query/maxRead {} -1
    read klmnopqrst klmnopqrst
    query/maxRead {} -1
    read uvwxyz0123 uvwxyz0123
    query/maxRead {} -1
    read 456789,./? 456789,./?
    query/maxRead {} -1
    read {><;'\|":[]} {><;'\|":[]}
    query/maxRead {} -1
    read {\}\{`~!@#$} {\}\{`~!@#$}
    query/maxRead {} -1
    read %^&*()_+-= %^&*()_+-=
    query/maxRead {} -1
    read {
    } {
    }
    query/maxRead {} -1
    flush/read {} {}
    delete/read {} *ignored*
    --------
    create/write {} *ignored*
    write abcdefghij abcdefghij
    write klmnopqrst klmnopqrst
    write uvwxyz0123 uvwxyz0123
    write 456789,./? 456789,./?
    write {><;'\|":[]} {><;'\|":[]}
    write {\}\{`~!@#$} {\}\{`~!@#$}
    write %^&*()_+-= %^&*()_+-=
    write {
    } {
    }
    flush/write {} {}
    delete/write {} *ignored*
    ==== iogt-2.2 FAILED
    
    
    parseOld.test
    
    ==== parseOld-5.9 array variable substitution FAILED
    ==== Contents of test case:
    
        catch {unset a}; catch {unset qqq}
        set "a(x y z)" qqq
        set $a([format x]\ y [format z]) foo
        set qqq
    
    ---- Result was:
    can't read "a(x)": no such element in array
    ---- Result should have been (exact matching):
    foo
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ==== parseOld-5.9 FAILED
    
    pid.test
    pkg.test
    pkgMkIndex.test
    
    ==== pkgMkIndex-4.2 split package - direct loading FAILED
    ==== Contents of test case:
    
        pkgtest::runIndex -direct $fullPkgPath pkg2_a.tcl pkg2_b.tcl
    
    ---- Result was:
    0 {{pkg2:1.0 {source
    /vol/tclsrcsol/tcl85/tcl/unix/pkg/pkg2_a.tcl^@source /vol/t
    clsrcsol/tcl85/tcl/unix/pkg/pkg2_b.tcl}}}
    ---- Result should have been (exact matching):
    0 {{pkg2:1.0 {source
    /vol/tclsrcsol/tcl85/tcl/unix/pkg/pkg2_a.tcl
    source /vol/tclsrcsol/tcl85/tcl/unix/pkg/pkg2_b.tcl}}}
    ==== pkgMkIndex-4.2 FAILED
    
    ==== pkgMkIndex-8.2 pkg5 uses pkg2 - use -direct FAILED
    ==== Contents of test case:
    
        pkgtest::runIndex -direct $fullPkgPath pkg5.tcl
    pkg2_a.tcl pkg2_b.tcl
    
    ---- Result was:
    0 {{pkg2:1.0 {source
    /vol/tclsrcsol/tcl85/tcl/unix/pkg/pkg2_a.tcl^@source /vol/t
    clsrcsol/tcl85/tcl/unix/pkg/pkg2_b.tcl}} {pkg5:1.0 {source
    /vol/tclsrcsol/tcl85/
    tcl/unix/pkg/pkg5.tcl}}}
    ---- Result should have been (exact matching):
    0 {{pkg2:1.0 {source
    /vol/tclsrcsol/tcl85/tcl/unix/pkg/pkg2_a.tcl
    source /vol/tclsrcsol/tcl85/tcl/unix/pkg/pkg2_b.tcl}}
    {pkg5:1.0 {source /vol/tcl
    srcsol/tcl85/tcl/unix/pkg/pkg5.tcl}}}
    ==== pkgMkIndex-8.2 FAILED
    
    ==== pkgMkIndex-10.2 package in DLL hidden by -load FAILED
    ==== Contents of test case:
    
        # Do all [load]ing of shared libraries in another
    process, so 
        # we can delete the file and not get stuck because we're
    holding
        # a reference to it.
        #
        # This test depends on context from prior test, so
    repeat it.
        set script "[list pkg_mkIndex -lazy $fullPkgPath [file
    tail $x] pkga.tcl]\n"
        append script  "[list pkg_mkIndex -lazy -load Pkg*
    $fullPkgPath [file tail $
    x]]"
        exec [interpreter] << $script
        pkgtest::runCreatedIndex {0 {}} -lazy -load Pkg* --
    $fullPkgPath pkga[info s
    haredlibextension]
    
    ---- Result was:
    0 {{Pkga:1.0 {tclPkgSetup {pkga.so load {pkga_eq
    pkga_quote}} {pkga.tcl source p
    kga_neq}}}}
    ---- Result should have been (exact matching):
    0 {}
    ==== pkgMkIndex-10.2 FAILED
    
    tcltest.test
    
    ==== tcltest-12.4 loadFile FAILED
    ==== Contents of test case:
    set f1 [loadScript]
            set f2 [loadFile]
            set f3 [loadFile $loadfile]
            set f4 [loadScript]
            set f5 [loadFile]
            list $f1 $f2 $f3 $f4 $f5
    ---- Result was:
    {} {} /vol/tclsrcsol/tcl85/tcl/unix/load.tcl { 
        package require tcltest
        namespace import tcltest::*
        puts [outputChannel] $::tcltest::loadScript
        exit
    } /vol/tclsrcsol/tcl85/tcl/unix/load.tcl
    ---- Result should have been (exact matching):
    {} {} /vol/tclsrcsol/tcl85/tcl/unix/load.tcl { 
        package require tcltest
        namespace import tcltest::*
        puts [outputChannel] $::tcltest::loadScript
        exit
    } /vol/tclsrcsol/tcl85/tcl/unix/load.tcl^@
    ==== tcltest-12.4 FAILED
    
    
    
  2. login: "lvirden"
  3. mimetype: "text/plain"
  4. username: "lvirden"