Overview
| Artifact ID: | fb435d06db55a175b3a139e324decccb58da898d |
|---|---|
| Ticket: | 218359ffffffffffffffffffffffffffffffffff
A lot of tests fail |
| User & Date: | nobody on 2000-10-26 00:56:41 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 4170 Bug Version: 8.2.3 SubmitDate: '2000-02-14' LastModified: '2000-02-22' Severity: SER Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Linux OSVersion: linux-2.2.12 Machine: intel i686 FixedDate: '2000-10-25' ClosedDate: '2000-02-22' Name: Joachim Zaers CustomShell: none Comments: I like the test suite very much and try myself to provide such tests for my own software. I know it's hard but it helps the less experienced user to gain confidence in the software and especially into a new release. ReproducibleScript: I was quite shocked to seee how many tests fail in the new version. The testsuite is so great, why aren't you putting more care into fixing some bugs, which look like minor mistakes and missed updates. I lost some confidence in the new release, when I saw how many problems are coming up. Are these really problems? ObservedBehavior: if test ! -f tclsh; then make tclsh; else true; fi cd dltest; PATH=..:/sbin:/usr/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/lib/java/bin:/usr/games/bin:/usr/games:/opt/gnome/bin:/opt/kde/bin TCL_LIBRARY=../../library make make[1]: Entering directory `/usr/local/src/tcl8.2.3/unix/dltest' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/tcl8.2.3/unix/dltest' cc -rdynamic tclTestInit.o tclTest.o tclTestObj.o tclTestProcBodyObj.o tclThreadTest.otclUnixTest.o -L/usr/local/src/tcl8.2.3/unix -ltcl8.2 -ldl -lieee -lm -lc -Wl,-rpath,/usr/local/lib -o tcltest LD_LIBRARY_PATH=`pwd`:; export LD_LIBRARY_PATH; LIBPATH=`pwd`:; export LIBPATH; SHLIB_PATH=`pwd`:; export SHLIB_PATH; TCL_LIBRARY="/usr/local/src/tcl8.2.3/library"; export TCL_LIBRARY; ./tcltest ./../tests/all.tcl Tcl 8.2.0 tests running in interp: /usr/local/src/tcl8.2.3/unix/tcltest Tests running in working dir: ./../tests Only sourcing test files that match: *.test Tests began at Tue Feb 08 12:26:50 MET 2000 append.test assocd.test async.test autoMkindex.test basic.test binary.test case.test clock.test cmdAH.test ==== cmdAH-18.2 Tcl_FileObjCmd: executable FAILED ==== Contents of test case: file executable gorp.file ---- Result was: 1 ---- Result should have been: 0 ==== cmdAH-18.2 FAILED cmdIL.test cmdInfo.test cmdMZ.test ==== cmdMZ-1.4 Tcl_PwdObjCmd: failure FAILED ==== Contents of test case: file delete -force foo file mkdir foo set cwd [pwd] cd foo file attr . -permissions 000 set result [list [catch {pwd} msg] $msg] cd $cwd file delete -force foo set result ---- Result was: 0 /usr/local/src/tcl8.2.3/unix/foo ---- Result should have been: 1 {error getting working directory name: permission denied} ==== cmdMZ-1.4 FAILED compExpr-old.test compExpr.test compile.test concat.test dcall.test dstring.test encoding.test env.test error.test eval.test event.test exec.test execute.test expr-old.test expr.test ==== expr-20.4 proper double evaluation compilation, error case FAILED ==== Contents of test case: catch {unset a}; # make sure $a doesn't exist list [catch {expr 1?{$a}:0} msg] $msg ---- Result was: 0 {$a} ---- Result should have been: 1 {can't read "a": no such variable} ==== expr-20.4 FAILED ==== expr-20.5 proper double evaluation compilation, working case FAILED ==== Contents of test case: set a yellow expr 1?{$a}:0 ---- Result was: $a ---- Result should have been: yellow ==== expr-20.5 FAILED fCmd.test fileName.test for-old.test for.test foreach.test format.test ==== format-15.1 testing %0..s 0 padding for chars/strings FAILED ==== Contents of test case: format %05s a ---- Result was: a ---- Result should have been: 0000a ==== format-15.1 FAILED ==== format-15.4 testing %0..s 0 padding for chars/strings FAILED ==== Contents of test case: format %05c 61 ---- Result was: = ---- Result should have been: 0000= ==== format-15.4 FAILED get.test history.test http.test httpold.test Running http 1.0 tests in slave interp httpold.test:Total31Passed31Skipped0Failed0 if-old.test if.test incr-old.test incr.test ==== incr-1.30 TclCompileIncrCmd: array var, braced (no subs) FAILED ==== Contents of test case: catch {unset array} set array(\$foo) 4 incr {array($foo)} ==== Test generated error: can't read "array(3)": no such element in array ---- Result should have been: 5 ==== incr-1.30 FAILED indexObj.test info.test init.test interp.test io.test ioCmd.test ioUtil.test join.test lindex.test link.test linsert.test ==== linsert-1.20 linsert command, use of end-int index FAILED ==== Contents of test case: linsert {a b c d} end-2 e f ---- Result was: a b c d e f ---- Result should have been: a b e f c d ==== linsert-1.20 FAILED list.test listObj.test llength.test load.test lrange.test lreplace.test lsearch.test macFCmd.test misc.test msgcat.test namespace-old.test namespace.test obj.test opt.test osa.test parse.test parseExpr.test parseOld.test pid.test pkg.test ==== pkg-5.5 CheckVersion procedure FAILED ==== Contents of test case: list [catch {package vcompare 1.2..3 2.1} msg] $msg ---- Result was: 0 -1 ---- Result should have been: 1 {expected version number but got "1.2..3"} ==== pkg-5.5 FAILED pkgMkIndex.test platform.test proc-old.test proc.test pwd.test reg.test !!! bypassed 3 tests in reg-9, `reg brackets' !!! bypassed 22 tests in reg-22, `reg multicharacter collating elements' ==== reg-24.1 (compile) reg non-greedy quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PT ab+? ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-24.1 FAILED ==== reg-24.2 (compile) reg non-greedy quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PT ab+?c ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-24.2 FAILED ==== reg-24.3 (compile) reg non-greedy quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PT ab*? ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-24.3 FAILED ==== reg-24.4 (compile) reg non-greedy quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PT ab*?c ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-24.4 FAILED ==== reg-24.5 (compile) reg non-greedy quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PT ab?? ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-24.5 FAILED ==== reg-24.6 (compile) reg non-greedy quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PT ab??c ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-24.6 FAILED ==== reg-24.7 (compile) reg non-greedy quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PQT ab{2,4}? ---- Result was: 0 {REG_UBOUNDS REG_UNONPOSIX} ---- Result should have been: 0 {REG_UBOUNDS REG_UNONPOSIX REG_USHORTEST} ==== reg-24.7 FAILED ==== reg-24.8 (compile) reg non-greedy quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PQT ab{2,4}?c ---- Result was: 0 {REG_UBOUNDS REG_UNONPOSIX} ---- Result should have been: 0 {REG_UBOUNDS REG_UNONPOSIX REG_USHORTEST} ==== reg-24.8 FAILED ==== reg-24.10 (compile) reg non-greedy quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PT 3z*? ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-24.10 FAILED ==== reg-24.12 (compile) reg non-greedy quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PT z*?4 ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-24.12 FAILED ==== reg-25.1 (compile) reg mixed quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PNT {^(.*?)(a*)$} ---- Result was: 2 {REG_UNONPOSIX REG_UEMPTYMATCH} ---- Result should have been: 2 {REG_UNONPOSIX REG_UEMPTYMATCH REG_USHORTEST} ==== reg-25.1 FAILED ==== reg-25.2 (compile) reg mixed quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PNT {^(.*?)(a*)$} ---- Result was: 2 {REG_UNONPOSIX REG_UEMPTYMATCH} ---- Result should have been: 2 {REG_UNONPOSIX REG_UEMPTYMATCH REG_USHORTEST} ==== reg-25.2 FAILED ==== reg-25.3 (compile) reg mixed quantifiers FAILED ==== Contents of test case: testregexp -about -xflags PNT {^(.*?)(a*)$} ---- Result was: 2 {REG_UNONPOSIX REG_UEMPTYMATCH} ---- Result should have been: 2 {REG_UNONPOSIX REG_UEMPTYMATCH REG_USHORTEST} ==== reg-25.3 FAILED ==== reg-29.11 (compile) reg incomplete matches FAILED ==== Contents of test case: testregexp -about -xflags !tPT abc+? ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-29.11 FAILED ==== reg-29.12 (compile) reg incomplete matches FAILED ==== Contents of test case: testregexp -about -xflags tPT abc+? ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-29.12 FAILED ==== reg-29.13 (compile) reg incomplete matches FAILED ==== Contents of test case: testregexp -about -xflags tPT abc+? ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-29.13 FAILED ==== reg-29.14 (compile) reg incomplete matches FAILED ==== Contents of test case: testregexp -about -xflags tPT abc+? ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-29.14 FAILED ==== reg-29.15 (compile) reg incomplete matches FAILED ==== Contents of test case: testregexp -about -xflags tPT abc+? ---- Result was: 0 REG_UNONPOSIX ---- Result should have been: 0 {REG_UNONPOSIX REG_USHORTEST} ==== reg-29.15 FAILED !!! bypassed 1 tests in reg-29, `reg incomplete matches' regexp.test registry.test rename.test resource.test result.test safe.test scan.test security.test set-old.test It looks like you are pickup up the wrong .so's when running the test suites. See what 'ldd tcltest' says. All the problems seem to be due to bugs that have since been fixed. -- 02/22/2000 hobbs - foundin changed to: "final: 8.2.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "A lot of tests fail"
- type changed to: "Bug"