.
D 2008-05-13T13:06:13
J assignee vincentdarley
J cmimetype text/plain
J comment The\sabove\stwo\stests\sfail\son\sSPARC\sSolaris\s(and\sprobably\sother\splatforms)\sbecause\sthe\stests\smake\sthe\sassumption\sthat\sany\suser\scan\schange\sthe\sgroup\sof\sa\sfile.\n\nOn\sSolaris\s2.8\s(and\sa\svariety\sof\solder\sand\snewer\sversions\sas\swell),\sthe\suser\scan\sonly\schange\sthe\sgroup\sof\sa\sfile\ss/he\sowns,\sand\sonly\schange\sit\sto\sa\sgroup\sto\swhich\ss/he\sbelongs.\n\nThe\sweird\sthing,\sto\sme,\sis\sthat\sI\swould\shave\sthought\sthis\stest\sshould\shave\sworked\s-\sI\smean,\sI\sam\srunning\sit\sas\sme,\sso\sthe\sfile\screated\sshould\shave\sbeen\screated\sin\smy\sdefault\sgroup.\n\nHowever,\swhat\sI\sam\sseeing\sis\sthis:\n\nfCmd.test\n\n====\sfCmd-27.5\sTclFileAttrsCmd\s-\ssetting\sone\soption\sFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\screatefile\sfoo.tmp\n\s\s\s\sset\sattrs\s[file\sattributes\sfoo.tmp]\n\s\s\s\sfile\sattributes\sfoo.tmp\s{*}[lrange\s$attrs\s0\s1]\n\n----\sTest\sgenerated\serror;\sReturn\scode\swas:\s1\n----\sReturn\scode\sshould\shave\sbeen\sone\sof:\s0\s2\n----\serrorInfo:\scould\snot\sset\sgroup\sfor\sfile\s"foo.tmp":\snot\sowner\n\s\s\s\swhile\sexecuting\n"file\sattributes\sfoo.tmp\s{*}[lrange\s$attrs\s0\s1]"\n\s\s\s\s("uplevel"\sbody\sline\s4)\n\s\s\s\sinvoked\sfrom\swithin\n"uplevel\s1\s$script"\n----\serrorCode:\sPOSIX\sEPERM\s{not\sowner}\n====\sfCmd-27.5\sFAILED\n\n====\sfCmd-27.6\sTclFileAttrsCmd\s-\ssetting\smore\sthan\sone\soption\sFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\screatefile\sfoo.tmp\n\s\s\s\sset\sattrs\s[file\sattributes\sfoo.tmp]\n\s\s\s\sfile\sattributes\sfoo.tmp\s{*}[lrange\s$attrs\s0\s3]\n\n----\sTest\sgenerated\serror;\sReturn\scode\swas:\s1\n----\sReturn\scode\sshould\shave\sbeen\sone\sof:\s0\s2\n----\serrorInfo:\scould\snot\sset\sgroup\sfor\sfile\s"foo.tmp":\snot\sowner\n\s\s\s\swhile\sexecuting\n"file\sattributes\sfoo.tmp\s{*}[lrange\s$attrs\s0\s3]"\n\s\s\s\s("uplevel"\sbody\sline\s4)\n\s\s\s\sinvoked\sfrom\swithin\n"uplevel\s1\s$script"\n----\serrorCode:\sPOSIX\sEPERM\s{not\sowner}\n====\sfCmd-27.6\sFAILED\n
J foundin obsolete:\s8.6a0
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter lvirden
J subsystem 37.\sFile\sSystem
J title fCmd.test\s27.5\sand\s27.6\sfailure\son\sSPARC\sSolaris
J type Bug
K 1963074fffffffffffffffffffffffffffffffff
U lvirden
Z 80c4d3ef724715fcbe1b85339071a730