.
D 2000-10-26T05:12:09
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s6133\sBug\nVersion:\s8.3\nSubmitDate:\s'2000-08-14'\nLastModified:\s'2000-08-14'\nSeverity:\sSER\nStatus:\sUnAssn\nSubmitter:\sjenn\nChangedBy:\sjenn\nOS:\sAll\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nIn\ssocket.test,\smany\sof\sthe\ssocket\stests\suse\sexec.\s\scatch\sisn't\sused\son\sthese\scalls,\sbut\sthe\sfact\sthat\sthey\sran\sis\sessential\sfor\sthe\sproper\srunning\sof\sthe\stests.\s\sTests\scan\ssilently\sfail\sbecause\sof\sthis.\s\s\n\nEasy\sfix:\n\nModify\sthe\s"exec\s..."\scalls\sso\sthat\sthe\serrors\sare\scaught\s(if\sany\sexist)\sand\sreturn\sthem\sif\sthey're\srelevant.\n\nto\sreproduce:\n1)\slook\sfor\sthe\sfollowing\scode\sin\ssocket.test:\n\s\s\s\sset\sf\s[open\sscript2\sw]\n\s\s\s\sputs\s$f\s[list\sset\stcltest\s[tcltest::nameofexecutable]]\n\s\s\s\sputs\s$f\s{\nset\sf\s[socket\s-server\saccept\s2828]\nproc\saccept\s{\sfile\saddr\sport\s}\s{\n\s\s\s\sclose\s$file\n}\n>>>exec\s$tcltest\sscript1\s&\nclose\s$f\nafter\s1000\sexit\nvwait\sforever\n\s\s\s\s}\n\s\s\s\sclose\s$f\n\n\s\s\s\s#\sLaunch\sscript2\sand\swait\s5\sseconds\n\n\s\s\s\sexec\s[tcltest::nameofexecutable]\sscript2\s&\n2)\sChange\s"exec\s$tcltest\sscript1"\s(marked\sby\s">>>"\sabove)\sto\s"exec\sfoobar".\n3)\sRun\ssocket.test\n\nexpected\sresult:\nfailure\sreported\s\n\nactual\sresult:\ntest\ssilently\sfails.\s\serror\sgoes\sto\sthe\sconsole.\s\stest\sassumes\sthat\swhat\sit\sexpected\sto\shappen\shappened.\n\nThis\stest\scoding\serror\sis\sapparent\sin\sseveral\sof\sthe\ssocket\stests,\sincluding\smost\sof\sthe\ssocket-12.*\stests.\n\n\n\n
J foundin obsolete:\s8.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 85.\stclconfig
J title socket\stests\s(12.*)\suse\sexec\sbut\sdon't\scheck\sreturn\sstatus\s-
J type Bug
K 219388ffffffffffffffffffffffffffffffffff
U nobody
Z 72697069f6cc1e489a4d6e7ac062a285