Tk Library Source Code

View Ticket
Login
Ticket UUID: 517595
Title: test suite bug in control/do.test
Type: Bug Version: None
Submitter: lvirden Created on: 2002-02-14 17:07:37
Subsystem: control Assigned To: rmax
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-02-21 18:43:44
Resolution: Fixed Closed By: rmax
    Closed on: 2002-02-21 11:43:44
Description:
using the very latest tcllib, and running make test, I
see the following error:


Module: control
modules/control/do.test

==== do-2.3 wrong no of arguments FAILED
==== Contents of test case:

    set res [catch do] 
    list $res $::errorInfo

---- Result was:
1 {wrong # args: should be "do body args"
    while executing
"do"}
---- Result should have been (exact matching):
1 {no value given for parameter "body" to "do"
    while executing
"do"}
==== do-2.3 FAILED
User Comments: rmax added on 2002-02-21 18:42:46:
Logged In: YES 
user_id=124643

Fixed in CVS.

dgp added on 2002-02-20 05:07:41:
Logged In: YES 
user_id=80530

Bugs in the sha1 package belong in another
category.  Open another report.

Actually, don't open another report.  This
problem is already noted as Bug 446997.
It's just that TIP 72 made all platforms
into "64-bit platforms" so the bugginess of
the sha1 package is now clear to all.

Followups on this issue directed to Bug 446997.

lvirden added on 2002-02-20 01:18:13:
Logged In: YES 
user_id=15949

Note that testing against the Feb 19, 2002 version adds a
new error:


Module: sha1
modules/sha1/sha1.test
sha1 1.0.2 (pure Tcl)

==== sha1-2.1 sha1 FAILED
==== Contents of test case:

        ::sha1::sha1 $msg
    
---- Result was:
integer value too large to represent
---- Result should have been (exact matching):
a9993e364706816aba3e25717850c26c9cd0d89d
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== sha1-2.1 FAILED

==== sha1-2.2 sha1 FAILED
==== Contents of test case:

        ::sha1::sha1 $msg
    
---- Result was:
integer value too large to represent
---- Result should have been (exact matching):
84983e441c3bd26ebaae4aa1f95129e5e54670f1
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== sha1-2.2 FAILED

==== sha1-3.1 hmac FAILED
==== Contents of test case:

        ::sha1::hmac $key $text
    
---- Result was:
integer value too large to represent
---- Result should have been (exact matching):
fbdb1d1b18aa6c08324b7d64b71fb76370690e1d
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== sha1-3.1 FAILED

==== sha1-3.2 hmac FAILED
==== Contents of test case:

        ::sha1::hmac $key $text
    
---- Result was:
integer value too large to represent
---- Result should have been (exact matching):
4c883e9bc42763641bba04185d492de00de7ce2c
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== sha1-3.2 FAILED

==== sha1-3.4 hmac FAILED
==== Contents of test case:

        ::sha1::hmac $key $text
    
---- Result was:
integer value too large to represent
---- Result should have been (exact matching):
369e2959eb49450338b212748f77d8ded74847bb
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== sha1-3.4 FAILED
==== sha1-3.5 hmac FAILED
==== Contents of test case:

        ::sha1::hmac $key $text
    
---- Result was:
integer value too large to represent
---- Result should have been (exact matching):
2660aeeccf432596e56f8f8260de971322e8935b
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== sha1-3.5 FAILED

==== sha1-3.6 hmac FAILED
==== Contents of test case:

        ::sha1::hmac $key $text
    
---- Result was:
integer value too large to represent
---- Result should have been (exact matching):
170523fd610da92dd4b4fb948a01a8365d66511a
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== sha1-3.6 FAILED

==== sha1-3.7 hmac FAILED
==== Contents of test case:

        ::sha1::hmac $key $text
    
---- Result was:
integer value too large to represent
---- Result should have been (exact matching):
5154473317173f66212fc59365233ffd9cbaab94
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== sha1-3.7 FAILED

==== sha1-3.8 hmac FAILED
==== Contents of test case:

        ::sha1::hmac $key $text
    
---- Result was:
integer value too large to represent
---- Result should have been (exact matching):
9e08393f6ac829c4385930ea38567dad582d958f
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== sha1-3.8 FAILED

==== sha1-3.9 hmac FAILED
==== Contents of test case:

        ::sha1::hmac $key $text
    
---- Result was:
integer value too large to represent
---- Result should have been (exact matching):
6541c34492618a052c12cb9f88fb795d97595b34
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== sha1-3.9 FAILED

dgp added on 2002-02-15 00:10:22:
Logged In: YES 
user_id=80530

passing along to rmax.

You must be testing with Tcl 8.4.  This is a side-effect
of the changing default usage message from Tcl 8.3 -> 8.4.

I think there's some facility in the Tcl test suite for
dealing with this.