Overview
| Artifact ID: | 7216032229dc46fba7eb015599f3163c8542630d |
|---|---|
| Ticket: | 759196ffffffffffffffffffffffffffffffffff
problem with test fCmd-18.10 |
| User & Date: | nobody on 2003-06-23 12:48:24 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- 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 - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "34. tcltest Package"
- title changed to: "problem with test fCmd-18.10 "
- type changed to: "Bug"