Skip to content
Tcl Source Code Artifact [b2fcd9b60a]
Login

Artifact [b2fcd9b60a]

Artifact b2fcd9b60a20a345a47c2e4b18431a5bf5450e85:

Ticket change [b2fcd9b60a] - Ticket [1193497fffffffff|1193497fff] <i>file writable lies for certain XP directories</i> status still Open with 4 other changes by fvogelnew1 on 2006-03-17 06:06:27.
D 2006-03-17T06:06:27
J icomment Logged\sIn:\sYES\s\nuser_id=1245417\n\nSo\shere\sis\swhat\sI\shave\sfound\snow:\n\n%\ssource\sfCmd.test\n\n====\sfCmd-9.4\sfile\srename:\scomprehensive:\sdir\sto\snew\sname\s\nFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\scleanup\n\s\s\s\sfile\smkdir\std1\std2\n\s\s\s\stestchmod\s555\std2\n\s\s\s\sfile\srename\std1\std3\n\s\s\s\sfile\srename\std2\std4\n\s\s\s\slist\s[lsort\s[glob\std*]]\s[file\swritable\std3]\s[file\s\nwritable\std4]\n\n----\sTest\sgenerated\serror;\sReturn\scode\swas:\s1\n----\sReturn\scode\sshould\shave\sbeen\sone\sof:\s0\s2\n----\serrorInfo:\std2:\sno\ssuch\sfile\sor\sdirectory\n\s\s\s\swhile\sexecuting\n"testchmod\s555\std2"\n\s\s\s\s("uplevel"\sbody\sline\s4)\n\s\s\s\sinvoked\sfrom\swithin\n"uplevel\s1\s$script"\n----\serrorCode:\sPOSIX\sENOENT\s{no\ssuch\sfile\sor\sdirectory}\n====\sfCmd-9.4\sFAILED\n\nREASON:\sProblems\sseems\sto\sbe\sin\stestchmod:\n\n%\sfile\smkdir\std1\std2\n%\stestchmod\s555\std2\ntd2:\sno\ssuch\sfile\sor\sdirectory\n%\sfile\sexists\std2\n1\n\nProblem\sis\sapparently\sthat\stestchmod\scannot\sfind\std2\sthat\s\nwas\sjust\screated??\n\n\n====\sfCmd-9.6\sfile\srename:\scomprehensive:\sdir\sto\sself\s\nFAILED\n\n====\sfCmd-9.9\sfile\srename:\scomprehensive:\sdir\sto\snon-empty\s\ndir\sFAILED\n\n====\sfCmd-9.11\sfile\srename:\scomprehensive:\sdir\sto\snew\sname\s\nand\sdir\sFAILED\n\n====\sfCmd-10.3.1\sfile\scopy:\scomprehensive:\sdir\sto\snew\sname\s\nFAILED\n\n====\sfCmd-10.5\sfile\scopy:\scomprehensive:\sdir\sto\sempty\sdir\s\nFAILED\n\n====\sfCmd-10.6\sfile\scopy:\scomprehensive:\sdir\sto\snon-empty\s\ndir\sFAILED\n\n====\sfCmd-10.8.1\sfile\srename:\scomprehensive:\sdir\sto\snew\s\nname\sand\sdir\sFAILED\n\n\nAll\sthe\s8\sfailing\stests\sin\sfCmd.test\sare\sfailing\sbecause\s\nof\stestchmod\sthat\scan't\sfind\sthe\sdirectory\sthat\swas\sjust\s\ncreated\sbefore.\n\n\n---------------------\n\nNow:\n%\ssource\stcltest.test\n\n====\stcltest-5.5\sInitConstraints:\slist\sof\sbuilt-in\s\nconstraints\sFAILED\n====\sContents\sof\stest\scase:\n\slsort\s[array\snames\s::tcltest::testConstraints]\n----\sResult\swas:\n2000orNewer\s95\s95or98\s98\sasyncPipeClose\sdontCopyLinks\s\neformat\semptyTest\sexec\sfil\neSharing\sfoundGroup\shasIsoLocale\sinteractive\sknownBug\s\nlinkDirectory\slinkFile\smac\n\smacCrash\smacOnly\smacOrPc\smacOrUnix\smacOrWin\snonBlockFiles\s\nnonPortable\snotFileSh\naring\snotNetworkFilesystem\snotRoot\snt\spc\spcCrash\spcOnly\s\nroot\ssingleTestInterp\sso\ncket\sstdio\stempNotMac\stempNotPc\stempNotUnix\stempNotWin\s\ntestchmod\stestsetplatform\n\stestvolumetype\sunix\sunixCrash\sunixExecs\sunixOnly\sunixOrPc\s\nunixOrWin\suserInterac\ntion\swin\swinCrash\swinOnly\sxdev\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\n95\s98\sasyncPipeClose\seformat\semptyTest\sexec\shasIsoLocale\s\ninteractive\sknownBug\sma\nc\smacCrash\smacOnly\smacOrPc\smacOrUnix\smacOrWin\s\nnonBlockFiles\snonPortable\snotRoot\nnt\spc\spcCrash\spcOnly\sroot\ssingleTestInterp\ssocket\sstdio\s\ntempNotMac\stempNotPc\stem\npNotUnix\stempNotWin\sunix\sunixCrash\sunixExecs\sunixOnly\s\nunixOrPc\sunixOrWin\suserInt\neraction\swin\swinCrash\swinOnly\n====\stcltest-5.5\sFAILED\n\nREASON:\sVince\sperhaps\sforgot\sto\supdate\sthe\sconstraints\s\nlist?\n\n\n====\stcltest-8.4\stcltest\sa.tcl\s-tmpdir\snotWriteableDir\s\nFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\sslave\smsg\s$a\s-tmpdir\s$notWriteableDir\n\s\s\s\sstring\smatch\s{*not\swriteable*}\s$msg\n\n----\sResult\swas:\n0\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\n1\n====\stcltest-8.4\sFAILED\n\nREASON:\shmmm...\sdon't\sknow...\n\n\nAbout\stests\sfrom\swinFcmd.test,\sagain\sthere\sis\sfor\sall\s7\s\nfailing\stests\sa\stestchmod\s000\sxxx\sthat\sdoes\snot\sfind\sthe\s\ndirectory\sit\sis\ssupposed\sto\sfind.\n\nTherefore\sI'm\sin\sagreement\swith\sJason:\n\n>1.\sWindows\sdoes\snot\spreserve\sACL\son\scopy\sit\sinstead\s\n>inherits\n>the\spermissions\sfrom\sthe\sparent.\n>2.\sTestcase\sdoes\sa\schmod\s000\sand\sexpects\sthe\sdirectory\sto\s\n>be\n>writable.\s\sI\sthink\sthe\stest\sshould\sreally\sbe\screating\n>another\ssub\sdirectory\sunder\sthe\sfirst\sone\sbefore\schmod\s000\n>and\sthen\stry\sto\swrite\sto\sit.\s\sThe\stestcases\sappear\sto\sbe\n>checking\sthat\sa\snon\sreadable\sdirectory\scan\sbe\straversed\n>through.\n\nShouldn't\sthe\stests\sbe\supdated\sfor\sWindows?\n\n\n>3.\sUsing\sfile\sattribute\s-readonly\sto\smake\sa\sdirectory\n>readonly.\s\sThe\stest\sdoes\snot\sappear\sto\sbe\svalid\sfor\s\nwindows\s.\s\n\nTo\swhich\stest\sare\syou\sreferring\sto\shere?\n\nFrancois\n\n
J login fvogelnew1
J mimetype text/plain
J username fvogelnew1
K 1193497fffffffffffffffffffffffffffffffff
U fvogelnew1
Z e7bf637a77832971d7a3e6b8fe142bee