|
2003-04-03
| ||
| 02:41 | • Closed ticket [713754ffff]: tests fail: Solaris cc --enable-symbols=compile ... artifact: 42ec934a39 user: dgp | |
| 00:39 | • Ticket [713754ffff]: 4 changes artifact: 6247c54c77 user: dgp | |
|
2003-04-02
| ||
| 08:16 | • New ticket [713754ffff]. artifact: 29d4c13be0 user: dgp | |
tests fail: Solaris cc --enable-symbols=compile
Closed / Duplicate713754ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-04-02 08:16:05
$ $CC -V
cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
$ ../unix/configure --disable-shared
--enable-symbols=compile
...
$ make 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:
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901*
---- Result should have been (exact matching):
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901
==== io-8.4 FAILED
...
==== 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
...
==== 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-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(xy z)": 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
...
==== 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
/local/src/tcl/solaris/pkg/pkg2_a.tclsource
/local/src/tcl/solaris/pkg/pkg2_b.tcl}}}
---- Result should have been (exact matching):
0 {{pkg2:1.0 {source /local/src/tcl/solaris/pkg/pkg2_a.tcl
source /local/src/tcl/solaris/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
/local/src/tcl/solaris/pkg/pkg2_a.tcl!source
/local/src/tcl/solaris/pkg/pkg2_b.tcl}} {pkg5:1.0
{source /local/src/tcl/solaris/pkg/pkg5.tcl}}}
---- Result should have been (exact matching):
0 {{pkg2:1.0 {source /local/src/tcl/solaris/pkg/pkg2_a.tcl
source /local/src/tcl/solaris/pkg/pkg2_b.tcl}}
{pkg5:1.0 {source /local/src/tcl/solaris/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 sharedlibextension]
---- Result was:
0 {{Pkga:1.0 {tclPkgSetup {pkga.so load {pkga_eq
pkga_quote}} {pkga.so load {pkga_eq pkga_quote}}}}}
---- Result should have been (exact matching):
0 {}
==== pkgMkIndex-10.2 FAILED
...
==== 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:
{} {} /local/src/tcl/solaris/load.tcl {
package require tcltest
namespace import tcltest::*
puts [outputChannel] $::tcltest::loadScript
exit
} /local/src/tcl/solaris/load.tcl
---- Result should have been (exact matching):
{} {} /local/src/tcl/solaris/load.tcl {
package require tcltest
namespace import tcltest::*
puts [outputChannel] $::tcltest::loadScript
exit
} /local/src/tcl/solaris/load.tcl)
==== tcltest-12.4 FAILED
Without --enable-symbols=compile, I see zero tests fail
dgpplain2003-04-03 00:39:48
Logged In: YES user_id=80530 looks like a common feature of these failed tests is a mistake dealing with backslash substitution?
dgpplain2003-04-03 02:41:23
Logged In: YES user_id=80530 Dup of 713754
Log in (anonymous is fine) to add a comment.