Skip to content
Tcl Source Code Artifact [15dd9cef49]
Login

Artifact [15dd9cef49]

Artifact 15dd9cef49f7986ffe69200d64c64f977e945361:

Ticket change [15dd9cef49] - New ticket [218669ffffffffff|218669ffff] <i>error messages differ accross platforms causing fCmd tests t</i>. by nobody on 2000-10-26 01:03:56.
D 2000-10-26T01:03:56
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1678\sBug\nVersion:\s8.0.5\nSubmitDate:\s'1999-03-31'\nLastModified:\s'1999-03-31'\nSeverity:\sSER\nStatus:\sReleased\nSubmitter:\spat\nChangedBy:\spat\nOS:\sLinux\nOSVersion:\supgraded\sversion\sof\sSlackware\nMachine:\sOther\nFixedDate:\s'1999-04-19'\nFixedInVersion:\s8.1b3\nClosedDate:\s'2000-10-25'\n\n\nName:\npete\n\nCustomShell:\nNo\smodifications\sto\sthe\score.\n\nReproducibleScript:\n\s\s\s\scd\stcl8.0.5/unix\n\s\s\s\smake\stest\s\s\s\s\s\s\s\s\s\s\s\s\s/*\safter\scompiling\sthe\spackage\sof\scourse\s*/\n\nObservedBehavior:\n\s\s\s\sfailure\sof\stest:\n\s\s\s\s\n\s\s\s\s\s\s\s====\sfCmd-6.30\sCopyRenameOneFile:\sTclpRemoveDirectory\sfailed\s\s\s\s---\n\s\s\s\s(unixOnly)\s-\n\s\s\s\s\n\s\s\s\sand\sof\stest:\n\s\s\s\s\n\s\s\s\s\s\s\s====\sunixFCmd-1.7\sTclpRenameFile:\sEXDEV\n\nDesiredBehavior:\n\s\s\s\s\n\s\s\s\s\s\s\s\s\si\swas\skind\sof\shoping\sthey'd\spass.\n\nPatch:\n***\sfCmd.test.old\s\s\s\s\s\s\sWed\sMar\s31\s11:17:41\s1999\n---\sfCmd.test.new\s\s\s\s\s\s\sWed\sMar\s31\s11:26:05\s1999\n***************\n***\s584,590\s****\n\s\s\s\s\s\sfile\smkdir\sfoo/bar\n\s\s\s\s\s\sfile\sattr\sfoo\s-perm\s040555\n\s\s\s\s\s\sset\smsg\s[list\s[catch\s{file\srename\sfoo/bar\s/tmp}\smsg]\s$msg]\n!\s\s\s\s\sset\sa1\s{1\s{can't\sunlink\s"foo/bar":\spermission\sdenied}}\n\s\s\s\s\s\sset\sresult\s[expr\s{$msg\s==\s$a1}]\n\s\s\s\s\s\scatch\s{file\sdelete\s/tmp/bar}\n\s\s\s\s\s\scatch\s{file\sattr\sfoo\s-perm\s040777}\n---\s584,590\s----\n\s\s\s\s\s\sfile\smkdir\sfoo/bar\n\s\s\s\s\s\sfile\sattr\sfoo\s-perm\s040555\n\s\s\s\s\s\sset\smsg\s[list\s[catch\s{file\srename\sfoo/bar\s/tmp}\smsg]\s$msg]\n!\s\s\s\s\sset\sa1\s{1\s{error\srenaming\s"foo/bar"\sto\s"/tmp/bar":\spermission\sdenied}}\n\s\s\s\s\s\sset\sresult\s[expr\s{$msg\s==\s$a1}]\n\s\s\s\s\s\scatch\s{file\sdelete\s/tmp/bar}\n\s\s\s\s\s\scatch\s{file\sattr\sfoo\s-perm\s040777}\n***\sunixFCmd.test.old\s\s\sWed\sMar\s31\s11:19:11\s1999\n---\sunixFCmd.test.new\s\s\sWed\sMar\s31\s11:27:41\s1999\n***************\n***\s84,90\s****\n\s\s\s\s\s\sfile\smkdir\sfoo/bar\n\s\s\s\s\s\sfile\sattr\sfoo\s-perm\s040555\n\s\s\s\s\s\sset\smsg\s[list\s[catch\s{file\srename\sfoo/bar\s/tmp}\smsg]\s$msg]\n!\s\s\s\s\sset\sa1\s{1\s{can't\sunlink\s"foo/bar":\spermission\sdenied}}\n\s\s\s\s\s\sset\sresult\s[expr\s{$msg\s==\s$a1}]\n\s\s\s\s\s\scatch\s{file\sdelete\s/tmp/bar}\s\s\s\s\s\scatch\s{file\sattr\sfoo\s-perm\s040777}\n\s\s\s\s\s\scatch\s{file\sattr\sfoo\s-perm\s040777}\n---\s84,90\s----\n\s\s\s\s\s\sfile\smkdir\sfoo/bar\n\s\s\s\s\s\sfile\sattr\sfoo\s-perm\s040555\n\s\s\s\s\s\sset\smsg\s[list\s[catch\s{file\srename\sfoo/bar\s/tmp}\smsg]\s$msg]\n!\s\s\s\s\sset\sa1\s{1\s{error\srenaming\s"foo/bar"\sto\s"/tmp/bar":\spermission\sdenied}}\n\s\s\s\s\s\sset\sresult\s[expr\s{$msg\s==\s$a1}]\n\s\s\s\s\s\scatch\s{file\sdelete\s/tmp/bar}\n\s\s\s\s\s\scatch\s{file\sattr\sfoo\s-perm\s040777}\n\nPatchFiles:\n\s\s\s\s\s\sfCmd.test\n\s\s\s\s\n\s\s\s\s\s\sunixFCmd.test\n\s\s\s\s\nComments:\n\n\s\s\s\s\s\s\s\s\sThis\sdidn't\sseem\sto\sfall\sprecisly\sinto\sany\sof\sthe\scatagories\sof\n\s\s\s\syour\n\s\s\s\s\s\s\s\s\srankings.\s\sI\scouldn't\sinstall\sand\suse\sthe\stcl8.05\spackage\suntil\sit\n\s\s\s\s\s\s\s\s\spassed\sall\sthe\stests\sin\s"make\stest".\n\s\s\s\s\n\s\s\s\s\s\s\s\s\sMy\sguess\sis\sthat\sthe\soutput\sfor\sthe\sexception\sgenerated\sby\sthese\n\s\s\s\stwo\n\s\s\s\s\s\s\s\s\stest\smay\shave\schanged.\s\sI\shope\smy\schanges\sto\sthe\stwo\s*.test\sfiles\n\s\s\s\s\s\s\s\s\sdid\snot\smask\sa\strue\sproblem\sin\smy\scompilation.\n\s\s\s\s\n\s\s\s\s\s\s\s\s\sThe\srelevant\sc\scode\sthat\smay\sbe\sthe\ssource\sof\sthe\sexception\stext\s\n\s\s\s\s\s\s\s\s\scould\sbe\sin\sfile\sgeneric/tclFCmd.c\sin\sthe\sfunction\n\s\s\s\s"CopyRenameOneFile".\n\n\n\nThese\stests\swere\sfailing\sbecause\serror\smessages\swere\sdifferent\son\sdifferent\splatforms.\s\sI\sfixed\sthis\sbehavior\sin\sTcl/Tk8.1b3\sby\ssearching\sfor\s"permission\sdenied"\sin\sthe\serror\smessage.\s\sSince\sthis\sis\salready\sfixed\sin\s8.1,\sI'm\snot\sgoing\sto\sapply\sthe\spatch\stoward\s8.0.\n-hershey\n\n
J foundin final:\s8.0.5
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 61.\s(unused)
J title error\smessages\sdiffer\saccross\splatforms\scausing\sfCmd\stests\st
J type Bug
K 218669ffffffffffffffffffffffffffffffffff
U nobody
Z 30ebd2a0f82e983f0ebe48c1162694d5