Skip to content
Tcl Source Code Artifact [92b8b7b2fc]
Login

Artifact [92b8b7b2fc]

Artifact 92b8b7b2fc658a75bcda20201393927ce3d54ccb:

Ticket change [92b8b7b2fc] - New ticket [3605120fffffffff|3605120fff] <i>test chan-io-28.7 slightly buggy (doesn&#39;t run standalone)</i>. by pointsman on 2013-02-17 22:36:27.
D 2013-02-17T22:36:27
J assignee andreas_kupries
J cmimetype text/plain
J comment \nThe\stest\schan-io-28.7\sout\sof\stests/chanio\sdoesn't\srun\sstandalone.\s\n\nA\scall\slike\n\n./tcltest\s../tests/all.tcl\s-file\schanio.test\s-match\s'chan-io-28.7'\n\nsimply\sruns\sforever,\sthe\stest\sdoesn't\sterminate.\n\nThe\sreason\sis\ssimple:\sThe\stest,\scalled\sas\sabove,\scalls\svwait\son\sthe\svariable\sname\s""\s(the\sempty\sstring),\sbut\sthis\svariable\sisn't\sset\sby\sthe\stest.\s\n\nMore\sDetails:\sThe\stest\sbody\scalls\n\n\s\s\s\svwait\s[namespace\swhich\s-variable\sdone]\n\nSince\sthere\sisn't\sa\svariable\s"done"\sneither\sdefined\snor\screated\swithin\sthe\stest,\sthe\s[namespace\swhich]\scall\sreturns\sthe\sempty\sstring.\sIn\sthe\stypical\scase\sof\srunning\sthe\swhole\stest\sfile\sthis\sisn't\snoticed,\sbecause\sthe\stest\schan-io-28.6\sdoes\screate\s(and\sdefine)\s\sthe\svariable\sdone.\sSince\sall\stest\sbodies\sare\sevaluated\sin\sthe\ssame\snamespace\s(the\sglobal\sone)\sthe\s[namespace\swhich\s-variable\sdone]\scall\sin\schan-io-28.7\swill\sreturn\sthe\sright\sfqn,\sif\schan-io-28.6\srun\sbefore.\n\nThe\sfix\sis\sobvious:\sEither\sreplace\sthe\s\n\s\s\s\svwait\s[namespace\swhich\s-variable\sdone]\nwith\sa\ssimple\n\s\s\s\svwait\sdone\nor\sadd\sa\n\s\s\s\svariable\sdone\nat\sthe\send\sof\sthe\s-setup\scode\sof\sthat\stest,\sas\schan-io-28.6\sdoes
J foundin current:\s8.6.0
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter pointsman
J subsystem 24.\sChannel\sCommands
J title test\schan-io-28.7\sslightly\sbuggy\s(doesn't\srun\sstandalone)
J type Bug
K 3605120fffffffffffffffffffffffffffffffff
U pointsman
Z 9e0753b94c8d7f43d19cb9ac91310882