.
D 2000-10-26T01:08:15
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2842\sBug\nVersion:\s8.2\nSubmitDate:\s'1999-09-20'\nLastModified:\s'1999-10-20'\nSeverity:\sLOW\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\sjenn\nOS:\sOther\nMachine:\sNA\nFixedDate:\s'1999-10-20'\nClosedDate:\s'2000-10-25'\n\n\nName:\n\nAndreas\sKupries\n\n\nObservedBehavior:\n\nThe\sfollowing\spatch\smakes\sthe\stcltest\smore\susable\sfor\sextensions\sand\n\n\s\s\s\stheir\stest\ssuites.\n\n\s\s\s\sIt\sadds\s3\scommandline\sflags\sallowing\sthe\suser\sto\sdefine\smore\sthings\sfrom\n\n\s\s\s\sthe\soutside.\n\n\s\s\s\sInternally\sit\srefactors\scommon\scode\sfor\sdealing\swith\spaths\sinto\sseparate\n\n\s\s\s\sprocedures.\n\n\nPatch:\n\n***\stcltest.tcl.orig6Fri\sSep\s17\s19:27:17\s1999\n\n---\stcltest.tclFri\sSep\s17\s22:56:46\s1999\n\n***************\n\n***\s14,20\s****\n\n\s\s#\s\n\n\s\s#\sRCS:\s@(#)\s$Id:\stcltest.tcl,v\s1.9\s1999/07/30\s01:35:27\sjenn\sExp\s$\n\n\n!\spackage\sprovide\stcltest\s1.0\n\n\n\s\s#\sEnsure\sthat\swe\shave\sa\sminimal\sauto_path\sso\swe\sdon't\spick\sup\sextra\sjunk.\n\n\s\sset\sauto_path\s[list\s[info\slibrary]]\n\n---\s14,20\s----\n\n\s\s#\s\n\n\s\s#\sRCS:\s@(#)\s$Id:\stcltest.tcl,v\s1.9\s1999/07/30\s01:35:27\sjenn\sExp\s$\n\n\n!\spackage\sprovide\stcltest\s1.1\n\n\n\s\s#\sEnsure\sthat\swe\shave\sa\sminimal\sauto_path\sso\swe\sdon't\spick\sup\sextra\sjunk.\n\n\s\sset\sauto_path\s[list\s[info\slibrary]]\n\n***************\n\n***\s26,32\s****\n\n\s\s\s\s\s\s#\sExport\sthe\spublic\stcltest\sprocs\n\n\s\s\s\s\s\sset\sprocList\s[list\stest\scleanupTests\ssaveState\srestoreState\s\\\n\n\s\s\s\s\s\snormalizeMsg\smakeFile\sremoveFile\smakeDirectory\sremoveDirectory\s\\\n\n!\s\s\s\s\sviewFile\sbytestring\ssafeFetch\sthreadReap\sgetMatchingFiles]\n\n\s\s\s\s\s\sforeach\sproc\s$procList\s{\n\n\s\snamespace\sexport\s$proc\n\n\s\s\s\s\s\s}\n\n---\s26,33\s----\n\n\s\s\s\s\s\s#\sExport\sthe\spublic\stcltest\sprocs\n\n\s\s\s\s\s\sset\sprocList\s[list\stest\scleanupTests\ssaveState\srestoreState\s\\\n\n\s\s\s\s\s\snormalizeMsg\smakeFile\sremoveFile\smakeDirectory\sremoveDirectory\s\\\n\n!\s\s\s\s\sviewFile\sbytestring\ssafeFetch\sthreadReap\sgetMatchingFiles\s\\\n\n!\s\s\s\s\sloadTestedCommands]\n\n\s\s\s\s\s\sforeach\sproc\s$procList\s{\n\n\s\snamespace\sexport\s$proc\n\n\s\s\s\s\s\s}\n\n***************\n\n***\s114,119\s****\n\n---\s115,125\s----\n\n\s\s\s\s\s\s#\sDon't\srun\sonly\sthe\sconstrained\stests\sby\sdefault\n\n\s\s\s\s\s\svariable\slimitConstraints\sfalse\n\n\n+\s\s\s\s\s#\sA\stest\sapplication\shas\sto\sknow\show\sto\sload\sthe\stested\scommands\sinto\n\n+\s\s\s\s\s#\sthe\sinterpreter.\n\n+\s\n\n+\s\s\s\s\svariable\sloadScript\s{}\n\n+\s\n\n\s\s\s\s\s\s#\stests\sthat\suse\sthreads\sneed\sto\sknow\swhich\sis\sthe\smain\sthread\n\n\n\s\s\s\s\s\svariable\smainThread\s1\n\n***************\n\n***\s670,686\s****\n\n---\s676,783\s----\n\n\s\s-tmpdir\sdirectory\\t\sSave\stemporary\sfiles\sin\sthe\sspecified\\n\\\n\n\s\s\\t\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sdirectory.\s\sThe\sdefault\svalue\sis\s\\n\\\n\n\s\s\\t\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s$::tcltest::temporaryDirectory.\s\\n\\\n\n+\s-testdir\sdirectories\\t\sSearch\stests\sin\sthe\sspecified\\n\\\n\n+\s\\t\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sdirectories.\s\sThe\sdefault\svalue\sis\s\\n\\\n\n+\s\\t\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s$::tcltest::testsDirectory.\s\\n\\\n\n\s\s-outfile\sfile\s\s\s\s\\t\sSend\soutput\sfrom\stest\sruns\sto\sthe\s\\n\\\n\n\s\s\\t\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sspecified\sfile.\s\sThe\sdefault\sis\s\\n\\\n\n\s\s\\t\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sstdout.\s\\n\\\n\n\s\s-errfile\sfile\s\s\s\s\\t\sSend\serrors\sfrom\stest\sruns\sto\sthe\s\\n\\\n\n\s\s\\t\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sspecified\sfile.\s\sThe\sdefault\sis\s\\n\\\n\n\s\s\\t\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sstderr.\s\\n\\\n\n+\s-loadfile\sfile\s\s\s\\t\sRead\sthe\sscript\sto\sload\sthe\stested\s\\n\\\n\n+\s\\t\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\scommands\sfrom\sthe\sspecified\sfile.\s\\n\\\n\n+\s-load\sscript\s\s\\t\sSpecifies\sthe\sscript\sto\sload\sthe\stested\s\\n\\\n\n+\s\\t\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\scommands.\s\\n\\\n\n\s\s-debug\slevel\s\s\s\s\s\\t\sInternal\sdebug\sflag."]\n\n\s\s\s\s\s\s::tcltest::PrintUsageInfoHook\n\n\s\s\s\s\s\sreturn\n\n\s\s}\n\n\s\s\n\n+\s#\s::tcltest::CheckDirectory\s--\n\n+\s#\n\n+\s#This\sprocedure\schecks\swhether\sthe\sspecified\spath\sis\sa\sreadable\n\n+\s#and/or\swritable\sdirectory.\sIf\sone\sof\sthe\sconditions\sis\snot\n\n+\s#satisfied\san\serror\sis\sprinted\sand\sthe\sapplication\saborted.\sThe\n\n+\s#procedure\sassumes\sthat\sthe\scaller\salready\schecked\sthe\sexistence\n\n+\s#of\sthe\spath.\n\n+\s#\n\n+\s#\sArguments\n\n+\s#rwInformation\swhat\sattributes\sto\scheck.\sAllowed\svalues:\n\n+\s#r,\sw,\srw,\swr.\sIf\s'r'\sis\spart\sof\sthe\svalue\sthe\sdirectory\n\n+\s#must\sbe\sreadable.\s'w'\sassociates\sto\s'writable'.\n\n+\s#dirThe\sdirectory\sto\scheck.\n\n+\s#errMsgThe\sstring\sto\sprepend\sto\sthe\sactual\serror\smessage\sbefore\n\n+\s#printing\sit.\n\n+\s#\n\n+\s#\sResults\n\n+\s#none\n\n+\s#\n\n+\s\n\n+\sproc\s::tcltest::CheckDirectory\s{rw\sdir\serrMsg}\s{\n\n+\s\s\s\s\s#\sAllowed\svalues\sfor\s'rw':\sr,\sw,\srw,\swr\n\n+\s\n\n+\s\s\s\s\sif\s{![file\sisdir\s$dir]}\s{\s\n\n+\s::tcltest::PrintError\s"$errMsg\s\\"$dir\\"\sis\snot\sa\sdirectory"\n\n+\sexit\s1\n\n+\s\s\s\s\s}\selseif\s{([string\sfirst\sr\s$rw]\s>=\s0)\s&&\s![file\swritable\s$dir]}\s{\n\n+\s::tcltest::PrintError\s"$errMsg\s\\"$dir\\"\sis\snot\swriteable"\s\n\n+\sexit\s1\n\n+\s\s\s\s\s}\selseif\s{([string\sfirst\sw\s$rw]\s>=\s0)\s&&![file\sreadable\s$dir]}\s{\n\n+\s::tcltest::PrintError\s"$errMsg\s\\"$dir\\"\sis\snot\sreadable"\s\n\n+\sexit\s1\n\n+\s\s\s\s\s}\n\n+\s}\n\n+\s\n\n+\s#\s::tcltest::NormalizePath\s--\n\n+\s#\n\n+\s#This\sprocedure\sresolves\sany\ssymlinks\sin\sthe\spath\sthus\screating\sa\n\n+\s#path\swithout\sinternal\sredirection.\sIt\sassumes\sthat\sthe\sincoming\n\n+\s#path\sis\sabsolute.\n\n+\s#\n\n+\s#\sArguments\n\n+\s#pathVarcontains\sthe\sname\sof\sthe\svariable\scontaining\sthe\spath\sto\smodify.\n\n+\s#\n\n+\s#\sResults\n\n+\s#The\spath\sis\smodified\sin\splace.\n\n+\s#\n\n+\s\n\n+\sproc\s::tcltest::NormalizePath\s{pathVar}\s{\n\n+\s\s\s\s\supvar\s$pathVar\spath\n\n+\s\n\n+\s\s\s\s\sset\soldpwd\s[pwd]\n\n+\s\s\s\s\scd\s$path\n\n+\s\s\s\s\sset\spath\s[pwd]\n\n+\s\s\s\s\scd\s$oldpwd\n\n+\s}\n\n+\s\n\n+\s#\s::tcltest::MakeAbsolutePath\s--\n\n+\s#\n\n+\s#This\sprocedure\schecks\swhether\sthe\sincoming\spath\sis\sabsolute\sor\snot.\n\n+\s#Makes\sit\sabsolute\sif\sit\swas\snot.\n\n+\s#\n\n+\s#\sArguments\n\n+\s#pathVarcontains\sthe\sname\sof\sthe\svariable\scontaining\sthe\spath\sto\smodify.\n\n+\s#prefixis\soptional,\scontains\sthe\spath\sto\suse\sto\smake\sthe\sother\san\n\n+\s#absolute\sone.\sThe\scurrent\sworking\sdirectory\sis\sused\sif\sit\swas\n\n+\s#not\sspecified.\n\n+\s#\n\n+\s#\sResults\n\n+\s#The\spath\sis\smodified\sin\splace.\n\n+\s#\n\n+\s\n\n+\sproc\s::tcltest::MakeAbsolutePath\s{pathVar\s{prefix\s{}}}\s{\n\n+\s\s\s\s\supvar\s$pathVar\spath\n\n+\s\n\n+\s\s\s\s\sif\s{![string\sequal\s[file\spathtype\s$path]\s"absolute"]}\s{\s\n\n+\sif\s{$prefix\s==\s{}}\s{\n\n+\s\s\s\s\sset\sprefix\s[pwd]\n\n+\s}\n\n+\s\n\n+\sset\spath\s[file\sjoin\s$prefix\s$path]\s\n\n+\s\s\s\s\s}\n\n+\s}\n\n+\s\n\n\s\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***************\n\n***\s751,757\s****\n\n\s\s\s\s\s\s#\s-help\sis\snot\slisted\ssince\sit\shas\salready\sbeen\sprocessed\n\n\s\s\s\s\s\slappend\sdefaultFlags\s-verbose\s-match\s-skip\s-constraints\s\\\n\n\s\s\s\s\s\s-outfile\s-errfile\s-debug\s-tmpdir\s-file\s-notfile\s\\\n\n!\s\s\s\s\s-preservecore\s-limitconstraints\n\n\s\s\s\s\s\sset\sdefaultFlags\s[concat\s$defaultFlags\s\\\n\n\s\s\s\s\s\s[\s::tcltest::processCmdLineArgsAddFlagsHook\s]]\n\n\n---\s848,855\s----\n\n\s\s\s\s\s\s#\s-help\sis\snot\slisted\ssince\sit\shas\salready\sbeen\sprocessed\n\n\s\s\s\s\s\slappend\sdefaultFlags\s-verbose\s-match\s-skip\s-constraints\s\\\n\n\s\s\s\s\s\s-outfile\s-errfile\s-debug\s-tmpdir\s-file\s-notfile\s\\\n\n!\s\s\s\s\s-preservecore\s-limitconstraints\s-testdir\s-load\s\s\\\n\n!\s\s\s\s\s-loadfile\n\n\s\s\s\s\s\sset\sdefaultFlags\s[concat\s$defaultFlags\s\\\n\n\s\s\s\s\s\s[\s::tcltest::processCmdLineArgsAddFlagsHook\s]]\n\n\n***************\n\n***\s830,864\s****\n\n\s\s\s\s\s\sif\s{[info\sexists\sflag(-tmpdir)]}\s{\n\n\s\sset\s::tcltest::temporaryDirectory\s$flag(-tmpdir)\n\n\n!\sif\s{![string\sequal\s\\\n\n!\s[file\spathtype\s$::tcltest::temporaryDirectory]\s\\\n\n!\s"absolute"]}\s{\s\n\n!\s\s\s\s\sset\s::tcltest::temporaryDirectory\s[file\sjoin\s[pwd]\s\\\n\n!\s\s\s\s\s$::tcltest::temporaryDirectory]\s\n\n!\s}\n\n\s\sset\stmpDirError\s"bad\sargument\s\\"$flag(-tmpdir)\\"\sto\s-tmpdir:\s"\n\n\s\s\s\s\s\s}\n\n\s\s\s\s\s\sif\s{[file\sexists\s$::tcltest::temporaryDirectory]}\s{\n\n!\sif\s{![file\sisdir\s$::tcltest::temporaryDirectory]}\s{\s\n\n!\s\s\s\s\s::tcltest::PrintError\s"$tmpDirError\s\\"$::tcltest::temporaryDirectory\\"\s\\\n\n!\s\s\s\s\sis\snot\sa\sdirectory"\n\n!\s\s\s\s\sexit\s1\n\n!\s}\selseif\s{![file\swritable\s$::tcltest::temporaryDirectory]}\s{\n\n!\s\s\s\s\s::tcltest::PrintError\s"$tmpDirError\s\\"$::tcltest::temporaryDirectory\\"\s\\\n\n!\s\s\s\s\sis\snot\swriteable"\s\n\n!\s\s\s\s\sexit\s1\n\n!\s}\selseif\s{![file\sreadable\s$::tcltest::temporaryDirectory]}\s{\n\n!\s\s\s\s\s::tcltest::PrintError\s"$tmpDirError\s\\"$::tcltest::temporaryDirectory\\"\s\\\n\n!\s\s\s\s\sis\snot\sreadable"\s\n\n!\s\s\s\s\sexit\s1\n\n!\s}\n\n\s\s\s\s\s\s}\selse\s{\n\n\s\sfile\smkdir\s$::tcltest::temporaryDirectory\n\n\s\s\s\s\s\s}\n\n!\s\s\s\s\sset\soldpwd\s[pwd]\n\n!\s\s\s\s\scd\s$::tcltest::temporaryDirectory\n\n!\s\s\s\s\sset\s::tcltest::temporaryDirectory\s[pwd]\n\n!\s\s\s\s\scd\s$oldpwd\n\n\n\s\s\s\s\s\s#\sSave\sthe\snames\sof\sfiles\sthat\salready\sexist\sin\n\n\s\s\s\s\s\s#\sthe\soutput\sdirectory.\n\n---\s928,968\s----\n\n\s\s\s\s\s\sif\s{[info\sexists\sflag(-tmpdir)]}\s{\n\n\s\sset\s::tcltest::temporaryDirectory\s$flag(-tmpdir)\n\n\n!\sMakeAbsolutePath\s::tcltest::temporaryDirectory\n\n\s\sset\stmpDirError\s"bad\sargument\s\\"$flag(-tmpdir)\\"\sto\s-tmpdir:\s"\n\n\s\s\s\s\s\s}\n\n\s\s\s\s\s\sif\s{[file\sexists\s$::tcltest::temporaryDirectory]}\s{\n\n!\s::tcltest::CheckDirectory\srw\s$::tcltest::temporaryDirectory\s$tmpDirError\n\n\s\s\s\s\s\s}\selse\s{\n\n\s\sfile\smkdir\s$::tcltest::temporaryDirectory\n\n\s\s\s\s\s\s}\n\n!\s\n\n!\s\s\s\s\sNormalizePath\s::tcltest::temporaryDirectory\n\n!\s\n\n!\s\s\s\s\s#\sSet\sthe\s::tcltest::testsDirectory\sto\sthe\sarg\sof\s-testdir,\sif\n\n!\s\s\s\s\s#\sgiven.\n\n!\s\s\s\s\s#\s\n\n!\s\s\s\s\s#\sIf\sthe\spath\sis\srelative,\smake\sit\sabsolute.\s\sIf\sthe\sfile\sexists\sbut\n\n!\s\s\s\s\s#\sis\snot\sa\sdir,\sthen\sreturn\san\serror.\n\n!\s\s\s\s\s#\n\n!\s\s\s\s\s#\sIf\s::tcltest::temporaryDirectory\sdoes\snot\salready\sexist\sreturn\san\serror.\n\n!\s\n\n!\s\s\s\s\sset\stestDirError\s""\n\n!\s\s\s\s\sif\s{[info\sexists\sflag(-testdir)]}\s{\n\n!\sset\s::tcltest::testsDirectory\s$flag(-testdir)\n\n!\s\n\n!\sMakeAbsolutePath\s::tcltest::testsDirectory\n\n!\sset\stestDirError\s"bad\sargument\s\\"$flag(-testdir)\\"\sto\s-testdir:\s"\n\n!\s\s\s\s\s}\n\n!\s\s\s\s\sif\s{[file\sexists\s$::tcltest::testsDirectory]}\s{\n\n!\s::tcltest::CheckDirectory\sr\s$::tcltest::testsDirectory\s$testDirError\n\n!\s\s\s\s\s}\selse\s{\n\n!\s::tcltest::PrintError\s"$testDirError\s\\"$::tcltest::testsDirectory\\"\s\\\n\n!\sdoes\snot\sexist"\n\n!\sexit\s1\n\n!\s\s\s\s\s}\n\n!\s\n\n!\s\s\s\s\sNormalizePath\s::tcltest::testsDirectory\n\n\n\s\s\s\s\s\s#\sSave\sthe\snames\sof\sfiles\sthat\salready\sexist\sin\n\n\s\s\s\s\s\s#\sthe\soutput\sdirectory.\n\n***************\n\n***\s872,891\s****\n\n\n\s\s\s\s\s\sif\s{[info\sexists\sflag(-outfile)]}\s{\n\n\s\sset\stmp\s$flag(-outfile)\n\n!\sif\s{![string\sequal\s[file\spathtype\s$tmp]\s"absolute"]}\s{\n\n!\s\s\s\s\sset\stmp\s[file\sjoin\s$::tcltest::temporaryDirectory\s$tmp]\n\n!\s}\n\n\s\sset\s::tcltest::outputChannel\s[open\s$tmp\sw]\n\n\s\s\s\s\s\s}\s\n\n\n\s\s\s\s\s\sif\s{[info\sexists\sflag(-errfile)]}\s{\n\n\s\sset\stmp\s$flag(-errfile)\n\n!\sif\s{![string\sequal\s[file\spathtype\s$tmp]\s"absolute"]}\s{\n\n!\s\s\s\s\sset\stmp\s[file\sjoin\s$::tcltest::temporaryDirectory\s$tmp]\n\n!\s}\n\n\s\sset\s::tcltest::errorChannel\s[open\s$tmp\sw]\n\n\s\s\s\s\s\s}\n\n\n\s\s\s\s\s\s#\sIf\sthe\suser\sspecifies\sdebug\stesting,\sprint\sout\sextra\sinformation\sduring\n\n\s\s\s\s\s\s#\sthe\srun.\n\n\s\s\s\s\s\sif\s{[info\sexists\sflag(-debug)]}\s{\n\n---\s976,1012\s----\n\n\n\s\s\s\s\s\sif\s{[info\sexists\sflag(-outfile)]}\s{\n\n\s\sset\stmp\s$flag(-outfile)\n\n!\sMakeAbsolutePath\stmp\s$::tcltest::temporaryDirectory\n\n\s\sset\s::tcltest::outputChannel\s[open\s$tmp\sw]\n\n\s\s\s\s\s\s}\s\n\n\n\s\s\s\s\s\sif\s{[info\sexists\sflag(-errfile)]}\s{\n\n\s\sset\stmp\s$flag(-errfile)\n\n!\sMakeAbsolutePath\stmp\s$::tcltest::temporaryDirectory\n\n\s\sset\s::tcltest::errorChannel\s[open\s$tmp\sw]\n\n\s\s\s\s\s\s}\n\n\n+\s\s\s\s\s#\sIf\sa\sload\sscript\swas\sspecified,\seither\sdirectly\sor\sthrough\n\n+\s\s\s\s\s#\sa\sfile,\sremember\sit\sfor\slater\susage.\n\n+\s\n\n+\s\s\s\s\sif\s{\n\n+\s[info\sexists\sflag(-load)]\s&&\n\n+\s([lsearch\s-exact\s$flagArray\s-load]\s>\s[lsearch\s-exact\s$flagArray\s-loadfile])\n\n+\s\s\s\s\s}\s{\n\n+\sset\s::tcltest::loadScript\s$flag(-load)\n\n+\s\s\s\s\s}\n\n+\s\n\n+\s\s\s\s\sif\s{\n\n+\s[info\sexists\sflag(-loadfile)]\s&&\n\n+\s([lsearch\s-exact\s$flagArray\s-loadfile]\s>\s[lsearch\s-exact\s$flagArray\s-load])\n\n+\s\s\s\s\s}\s{\n\n+\sset\stmp\s$flag(-loadfile)\n\n+\sMakeAbsolutePath\stmp\s$::tcltest::temporaryDirectory\n\n+\sset\stmp\s[open\s$tmp\sr]\n\n+\sset\s::tcltest::loadScript\s[read\s$tmp]\n\n+\sclose\s$tmp\n\n+\s\s\s\s\s}\n\n+\s\n\n\s\s\s\s\s\s#\sIf\sthe\suser\sspecifies\sdebug\stesting,\sprint\sout\sextra\sinformation\sduring\n\n\s\s\s\s\s\s#\sthe\srun.\n\n\s\s\s\s\s\sif\s{[info\sexists\sflag(-debug)]}\s{\n\n***************\n\n***\s914,919\s****\n\n---\s1035,1060\s----\n\n\s\s\s\s\s\sDebugPArray\s1\s::tcltest::originalEnv\n\n\s\s\s\s\s\sDebugPuts\s\s\s1\s"Constraints:"\n\n\s\s\s\s\s\sDebugPArray\s1\s::tcltest::testConstraints\n\n+\s}\n\n+\s\n\n+\s#\s::tcltest::loadTestedCommands\s--\n\n+\s#\n\n+\s#Uses\sthe\sspecified\sscript\sto\sload\sthe\scommands\sto\stest.\sAllowed\sto\n\n+\s#be\sempty,\sas\sthe\stested\scommands\scould\shave\sbeen\scompiled\sinto\sthe\n\n+\s#interpreter.\n\n+\s#\n\n+\s#\sArguments\n\n+\s#none\n\n+\s#\n\n+\s#\sResults\n\n+\s#none\n\n+\s\n\n+\sproc\s::tcltest::loadTestedCommands\s{}\s{\n\n+\s\s\s\s\sif\s{$::tcltest::loadScript\s==\s{}}\s{\n\n+\sreturn\n\n+\s\s\s\s\s}\n\n+\s\n\n+\s\s\s\s\suplevel\s#0\s$::tcltest::loadScript\n\n\s\s}\n\n\s\s\n\n\s\s#\s::tcltest::cleanupTests\s--\n\n\nPatchFiles:\n\ntcltest.tcl\n\n\n\n\nBefore\sthis\spatch\scan\sbe\sapplied,\snew\stest\scases\sand\sdocumentation\swill\sneed\sto\sbe\sadded.\s\sIt's\salso\sunclear\sto\sme\show\sthe\stwo\sload\sflags\scan/should\sbe\sused.\s\n--\s09/21/1999\sjenn\n\nThe\spatch\swas\sapplied\swith\sthe\stcltest\sversion\snumber\sremaining\sat\s1.0.\n\n--\s10/20/1999\sjenn\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 Tcltest\senhancement
J type Bug
K 218939ffffffffffffffffffffffffffffffffff
U nobody
Z 3ff6f68d537ac143d78a2d230097f2c0