Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7216032229dc46fba7eb015599f3163c8542630d
Ticket: 759196ffffffffffffffffffffffffffffffffff
problem with test fCmd-18.10
User & Date: nobody on 2003-06-23 12:48:24
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    OS: Linux 2.2.21 smp
    
    used tcl Version: tcl8.4.3
    
    name of the file with the problem: fCmd.test
    
    revision:   # RCS: @(#) $Id: fCmd.test,v 1.26.2.1
    2003/04/14 15:45:54 vincentdarley Exp $
    
    The test fCmd-18.10 fails allways on Linux 2.2.21
    
    CFLAGS=-O  configure ...
    make
    make test:
    
    fCmd.test:
    
    ==== fCmd-18.10 TclFileRenameCmd: rename dir on top of
    a non-empty dir w/ -force FAILED
    ==== Contents of test case:
    
        catch {file delete -force -- tfa tfad}
        file mkdir tfa tfad/tfa/file
        set r1 [catch {file rename -force tfa tfad}]
        set result [expr $r1 && [file isdir tfa] && [file
    isdir tfad/tfa/file]]
        file delete -force tfa tfad
        set result
    
    ---- Result was:
    0
    ---- Result should have been (exact matching):
    1
    ==== fCmd-18.10 FAILED
    
    
    but if I do it manualy in a "shell" it seams to work
    like expected:
    
    bash-2.04$ ./tclsh
    % catch {file delete -force -- tfa tfad}
    0
    % file mkdir tfa tfad/tfa/file
    % set r1 [catch {file rename -force tfa tfad}]
    1
    % set result [expr $r1 && [file isdir tfa] && [file
    isdir tfad/tfa/file]]
    1
    % file delete -force tfa tfad
    % set result
    1
    % 
    
    All other tests excluding the stack.test (stack size
    warning)
    works fine.
    
    if you have any further question 
    
    my e-mail address is : 
    
    [email protected]
    
    
    Thangs a lot
    
    Andreas Greve
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "problem with test fCmd-18.10 "
  11. type changed to: "Bug"