Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ab66c0b2889461945334768ef90c7037d5d0f969
Ticket: 748960ffffffffffffffffffffffffffffffffff
cmdAH.test failed
User & Date: mmokrejs on 2003-07-21 17:12:25
Changes

  1. icomment:
    Logged In: YES 
    user_id=696559
    
    Hi,
      the patch you proposed works:
    
    --- tests/cmdAH.test    4 Jul 2003 13:04:12 -0000       1.34
    +++ tests/cmdAH.test    21 Jul 2003 10:04:15 -0000
    @@ -1186,7 +1186,12 @@
     
     # atime
     
    +# avoid problems with non-local filesystems
    +if {$::tcl_platform(platform) == "unix" && [file exists
    /tmp]} {
    +    set file [makeFile "data" touch.me /tmp]
    +} else {
     set file [makeFile "data" touch.me]
    +}
     
     test cmdAH-20.1 {Tcl_FileObjCmd: atime} {
         list [catch {file atime a b c} msg] $msg
    
    
    Unfortunately, I don't know much about tcl, so I did not
    touch anythouf the removeFile as you suggested, but I cannot
    find the temporary file either.
    
    With the patch above I get an error further:
    
    ==== cmdAH-25.2 Tcl_FileObjCmd: owned FAILED
    ==== Contents of test case:
    
        file owned $gorpfile
    
    ---- Result was:
    0
    ---- Result should have been (exact matching):
    1
    ==== cmdAH-25.2 FAILED
    
    
    I run the test in-non-local filesystem (AFS, as root and AFS
    user). So this part of the test should also be executed
    locally, I believe.
    
    
  2. login: "mmokrejs"
  3. mimetype: "text/plain"
  4. username: "mmokrejs"