Tk Library Source Code

View Ticket
Login
Ticket UUID: 1282221
Title: [uuid generate] tests fail
Type: Bug Version: None
Submitter: dgp Created on: 2005-09-05 14:23:50
Subsystem: uuid Assigned To: patthoyts
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2005-09-06 03:05:33
Resolution: Fixed Closed By: patthoyts
    Closed on: 2005-09-05 20:05:33
Description:
==== uuid-1.1 uuid generate should create a 36 char
string uuid FAILED
==== Contents of test case:

    list [catch {string length [uuid::uuid generate]}
msg] $msg

---- Result was:
1 {can't read "tcl_platform(platform)": no such variable}
---- Result should have been (exact matching):
0 36
==== uuid-1.1 FAILED


==== uuid-1.2 uuid comparison of uuid with self should
be true FAILED
==== Contents of test case:

    list [catch {
        set a [uuid::uuid generate]
        uuid::uuid equal $a $a
    } msg] $msg

---- Result was:
1 {can't read "tcl_platform(platform)": no such variable}
---- Result should have been (exact matching):
0 1
==== uuid-1.2 FAILED


==== uuid-1.3 uuid comparison of two different uuids
should be false FAILED
==== Contents of test case:

    list [catch {
        set a [uuid::uuid generate]
        set b [uuid::uuid generate]
        uuid::uuid equal $a $b
    } msg] $msg

---- Result was:
1 {can't read "tcl_platform(platform)": no such variable}
---- Result should have been (exact matching):
0 0
==== uuid-1.3 FAILED
User Comments: patthoyts added on 2005-09-06 03:05:32:
Logged In: YES 
user_id=202636

Nuts. Fixed the fault. Should really ensure that both critcl
and non-critcl paths are tested with windows.