.
D 2000-10-26T01:08:12
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2839\sBug\nVersion:\s8.2\nSubmitDate:\s'1999-09-20'\nLastModified:\s'1999-09-21'\nSeverity:\sSER\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\sjenn\nOS:\sOther\nMachine:\sNA\nFixedDate:\s'1999-09-21'\nClosedDate:\s'2000-10-25'\n\n\nName:\n\nAndreas\sKupries\n\n\nReproducibleScript:\n\n\n\n\nObservedBehavior:\n\nThe\spackage\sdefines\ssome\shook\sprocedures\sallowing\stest\ssuites\n\n\s\s\s\sto\sextend\sthe\spackage\sin\scertain\splaces,\sf.e.\sfor\sthe\n\n\s\s\s\sdefinition\sof\snew\sconstraints\sand\scommandline\sarguments.\n\n\n\s\s\s\sAs\sconstraint\sdefinitions\sand\scommandline\sarguments\sare\n\n\s\s\s\sinitialized\sthe\smoment\sthe\spackage\sis\sactually\sloaded\swe\shave\n\n\s\s\s\sto\sdefine\sour\sown\simplementations\sof\sthese\shooks\sbefore\sthat,\n\n\s\s\s\sor\sthey\scome\stoo\slate\sand\sare\snot\sused.\sBut\sas\sthe\spackage\n\n\s\s\s\sdoes\snot\scheck\sfor\sthe\sexistence\sof\sthe\shook\sprocedures\sit\n\n\s\s\s\swill\soverwrite\sour\sdefinitions\sduring\sthe\sload\swith\sits\sown\n\n\s\s\s\sand\sempty\sdefinitions.\sNot\sa\sgood\sthing.\n\n\nDesiredBehavior:\n\nProper\susage\sof\sthe\sredefined\shooks.\n\n\nPatch:\n\n***\stcltest.tcl.orig\sWed\sSep\s15\s19:15:20\s1999\n\n---\stcltest.tcl\s\s\s\s\s\sWed\sSep\s15\s19:14:36\s1999\n\n***************\n\n***\s341,347\s****\n\n\s\s\s\s\s\sreturn\n\n\s\s}\n\n\s\s\n\n!\sproc\s::tcltest::initConstraintsHook\s{}\s{}\n\n\n\s\s#\s::tcltest::initConstraints\s--\n\n\s\s#\n\n---\s341,349\s----\n\n\s\s\s\s\s\sreturn\n\n\s\s}\n\n\s\s\n\n!\sif\s{[namespace\sinscope\s::tcltest\sinfo\sprocs\sinitConstraintsHook]\s==\s{}}\s{\n\n!\s\s\s\s\sproc\s::tcltest::initConstraintsHook\s{}\s{}\n\n!\s}\n\n\n\s\s#\s::tcltest::initConstraints\s--\n\n\s\s#\n\n***************\n\n***\s621,627\s****\n\n\s\s#\s\s\s\s\s\s\sHook\sused\sfor\scustomization\sof\sdisplay\sof\susage\sinformation.\n\n\s\s#\n\n\n!\sproc\s::tcltest::PrintUsageInfoHook\s{}\s{}\n\n\n\s\s#\s::tcltest::PrintUsageInfo\n\n\s\s#\n\n---\s623,631\s----\n\n\s\s#\s\s\s\s\s\s\sHook\sused\sfor\scustomization\sof\sdisplay\sof\susage\sinformation.\n\n\s\s#\n\n\n!\sif\s{[namespace\sinscope\s::tcltest\sinfo\sprocs\sPrintUsageInfoHook]\s==\s{}}\s{\n\n!\s\s\s\s\sproc\s::tcltest::PrintUsageInfoHook\s{}\s{}\n\n!\s}\n\n\n\s\s#\s::tcltest::PrintUsageInfo\n\n\s\s#\n\n***************\n\n***\s677,689\s****\n\n\s\s\s\s\s\sreturn\n\n\s\s}\n\n\s\s\n\n!\s#\s::tcltest::processCmdLineArgsFlagsHook\s--\n\n\s\s#\n\n\s\s#This\shook\sis\sused\sto\sadd\sto\sthe\slist\sof\scommand\sline\sarguments\sthat\sare\n\n\s\s#\s\s\s\s\s\s\sprocessed\sby\s::tcltest::processCmdLineArgs.\s\n\n\s\s#\n\n\n!\sproc\s::tcltest::processCmdLineArgsAddFlagsHook\s{}\s{}\n\n\n\s\s#\s::tcltest::processCmdLineArgsHook\s--\n\n\s\s#\n\n---\s681,695\s----\n\n\s\s\s\s\s\sreturn\n\n\s\s}\n\n\s\s\n\n!\s#\s::tcltest::processCmdLineArgsAddFlagsHook\s--\n\n\s\s#\n\n\s\s#This\shook\sis\sused\sto\sadd\sto\sthe\slist\sof\scommand\sline\sarguments\sthat\sare\n\n\s\s#\s\s\s\s\s\s\sprocessed\sby\s::tcltest::processCmdLineArgs.\s\n\n\s\s#\n\n\n!\sif\s{[namespace\sinscope\s::tcltest\sinfo\sprocs\sprocessCmdLineArgsAddFlagsHook]\s==\s{}}\s{\n\n!\s\s\s\s\sproc\s::tcltest::processCmdLineArgsAddFlagsHook\s{}\s{}\n\n!\s}\n\n\n\s\s#\s::tcltest::processCmdLineArgsHook\s--\n\n\s\s#\n\n***************\n\n***\s694,700\s****\n\n\s\s#flags\s\s\s\s\s\sThe\sflags\sthat\shave\sbeen\spulled\sout\sof\sargv\n\n\s\s#\n\n\n!\sproc\s::tcltest::processCmdLineArgsHook\s{flag}\s{}\n\n\n\s\s#\s::tcltest::processCmdLineArgs\s--\n\n\s\s#\n\n---\s700,708\s----\n\n\s\s#flags\s\s\s\s\s\sThe\sflags\sthat\shave\sbeen\spulled\sout\sof\sargv\n\n\s\s#\n\n\n!\sif\s{[namespace\sinscope\s::tcltest\sinfo\sprocs\sprocessCmdLineArgsHook]\s==\s{}}\s{\n\n!\s\s\s\s\sproc\s::tcltest::processCmdLineArgsHook\s{flag}\s{}\n\n!\s}\n\n\n\s\s#\s::tcltest::processCmdLineArgs\s--\n\n\s\s#\n\n***************\n\n***\s1120,1126\s****\n\n\s\s#\s\s\s\s\s\s\sadditional\sthings\sthat\sshould\sbe\sdone\sat\scleanup.\n\n\s\s#\n\n\n!\sproc\s::tcltest::cleanupTestsHook\s{}\s{}\n\n\s\s\n\n\s\s#\stest\s--\n\n\s\s#\n\n---\s1128,1136\s----\n\n\s\s#\s\s\s\s\s\s\sadditional\sthings\sthat\sshould\sbe\sdone\sat\scleanup.\n\n\s\s#\n\n\n!\sif\s{[namespace\sinscope\s::tcltest\sinfo\sprocs\scleanupTestsHook]\s==\s{}}\s{\n\n!\s\s\s\s\sproc\s::tcltest::cleanupTestsHook\s{}\s{}\n\n!\s}\n\n\s\s\n\n\s\s#\stest\s--\n\n\s\s#\n\n\nPatchFiles:\n\ntcltest.tcl\n\n\n\n\n
J foundin obsolete:\s8.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 34.\stcltest\sPackage
J title Hook\sredefinition\smalaise
J type Bug
K 218937ffffffffffffffffffffffffffffffffff
U nobody
Z 42598256f0ef9d458063a60064a9add9