Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-04-11
23:34 • Closed ticket [705675ffff]: filesystem test suite fails to check constraints... artifact: ca8691db5d user: vincentdarley
2003-03-18
16:20 • New ticket [705675ffff]. artifact: b9dcda21a9 user: lvirden

filesystem test suite fails to check constraints

Closed / Fixed705675ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-03-18 16:20:35
if I run the test suite using a standard tcl 8.4.2
tclsh, I see this error:

fileSystem.test

==== filesystem-7.2 cross-filesystem copy from vfs
maintains mtime FAILED
==== Contents of test case:

    set dir [pwd]
    cd [tcltest::temporaryDirectory]
    # We created this file several tests ago.
    set origtime [file mtime gorp.file]
    testsimplefilesystem 1
    file delete -force theCopy
    file copy simplefs:/gorp.file theCopy
    testsimplefilesystem 0
    set newtime [file mtime theCopy]
    file delete theCopy
    cd $dir
    expr {$origtime == $newtime}

---- Result was:
invalid command name "testsimplefilesystem"
---- Result should have been (exact matching):
1
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== filesystem-7.2 FAILED


After looking at the test, Don Porter mentioned that it
appears that other constraints are also missing.  

Other test files check before using the test commands
and generate a msg saying they won't test a particular
feature if the test command is not available.
vincentdarleyplain2003-04-11 23:34:16
Logged In: YES 
user_id=32170

fixed.
Log in (anonymous is fine) to add a comment.