#1973 fCmd-6.26 fails

obsolete: 8.4b1
closed-works-for-me
Jeffrey Hobbs
5
2002-08-08
2002-07-18
Arjen Markus
No

Compiled with SUN's cc
Running on SunOS 5.6
Report from Tcl tests:
==== fCmd-6.26 CopyRenameOneFile: doesn't use original
name FAILED
==== Contents of test case:

cleanup
file mkdir ~/td1/td2
exec chmod 000 [file join [file dirname ~] [file
tail ~] td1 td2]
set msg [list [catch {file copy ~/td1 td1} msg]
$msg]
exec chmod 755 [file join [file dirname ~] [file
tail ~] td1 td2]
file delete -force ~/td1
set msg

---- Result was:
1 {error copying "~/td1" to "td1": "/u/markus/td1/td2":
permission denied}
---- Result should have been (exact matching):
1 {error copying "~/td1" to "td1":
"/users/homes/markus/td1/td2": permission den
ied}
==== fCmd-6.26 FAILED

Discussion

  • Vince Darley
    Vince Darley
    2002-07-18

    Logged In: YES
    user_id=32170

    Re-assigning to someone who understands Unix.

     
  • Vince Darley
    Vince Darley
    2002-07-18

    • assigned_to: vincentdarley --> hobbs
     
  • Don Porter
    Don Porter
    2002-07-18

    Logged In: YES
    user_id=80530

    this appears to be only a mismatch in the error msg.

    -match glob and a well-placed * should
    take care of it.

     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2002-08-08

    • status: open --> closed-works-for-me
     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2002-08-08

    Logged In: YES
    user_id=72656

    it actually appears to be more of a fs sensitive issue in the
    tests, which I don't think is critical (I can't even repro it).