Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-02-25
18:19 • Closed ticket [521531ffff]: regexp-11.* test failures plus 7 other changes artifact: 5c445694ab user: dkf
2002-02-22
17:26 • New ticket [521531ffff]. artifact: 04eea33801 user: dgp

regexp-11.* test failures

Closed / Invalid521531ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-02-22 17:26:42
After integration of TIP 76, I see these:

==== regexp-11.1 regsub errors FAILED
==== Contents of test case:

    evalInProc {
        list [catch {regsub a b c} msg] $msg
    }

---- Result was:
0 b
---- Result should have been (exact matching):
1 {wrong # args: should be "regsub ?switches? exp
string subSpec varName"}
==== regexp-11.1 FAILED


==== regexp-11.2 regsub errors FAILED
==== Contents of test case:

    evalInProc {
        list [catch {regsub -nocase a b c} msg] $msg
    }

---- Result was:
0 b
---- Result should have been (exact matching):
1 {wrong # args: should be "regsub ?switches? exp
string subSpec varName"}
==== regexp-11.2 FAILED


==== regexp-11.3 regsub errors FAILED
==== Contents of test case:

    evalInProc {
        list [catch {regsub -nocase -all a b c} msg]
$msg
    }

---- Result was:
0 b
---- Result should have been (exact matching):
1 {wrong # args: should be "regsub ?switches? exp
string subSpec varName"}
==== regexp-11.3 FAILED


==== regexp-11.4 regsub errors FAILED
==== Contents of test case:

    evalInProc {
        list [catch {regsub a b c d e f} msg] $msg
    }

---- Result was:
1 {wrong # args: should be "regsub ?switches? exp
string subSpec ?varName?"}
---- Result should have been (exact matching):
1 {wrong # args: should be "regsub ?switches? exp
string subSpec varName"}
==== regexp-11.4 FAILED


'make test' before commit is a good thing.
dkfplain2002-02-25 18:19:24
Logged In: YES 
user_id=79902

How on earth did you manage that?  Your copy of the test
suite is out of sync with the CVS one.  Get them back
together and you will find everything works (see the tail of
a 'make test' run just done by me on Solaris8.)

Tests ended at Mon Feb 25 10:56:58 GMT 2002
all.tcl:  Total 10026   Passed 9246   Skipped 780   Failed 0
Sourced 127 Test Files.
Number of tests skipped for each constraint:
        15      95
        2       LANGisC
        48      emptyTest
        2       hasIsoLocale
        12      knownBug
        1       knownbug
        1       largefileSupport
        25      localeRegexp
        122     macOnly
        2       memDebug
        132     nonPortable
        1       notInstalledInTmp
        2       notWin2000
        12      nt
        323     pcOnly
        30      testthread
        21      testwordend
        1       umask2
        3       unknownFailure
        22      wideIntegerUnparsed
        3       win2000
Log in (anonymous is fine) to add a comment.