Skip to content
Tcl Source Code Artifact [4be30a6b25]
Login

Artifact [4be30a6b25]

Artifact 4be30a6b25b485c8f84e69457158e40069d6251606994a23478ad4bf28a5a8ab:

Ticket change [4be30a6b25] - New ticket [342a6eda8f3672b1|342a6eda8f] <i>New safe.test failures</i>. by dgp on 2020-07-13 17:54:22.
D 2020-07-13T17:54:22.238
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Looks\slike\ssome\sextensive\schanges\sto\sthe\sSafe\sBase\sjust\shappened,\r\nand\saccording\sto\sthe\stest\ssuite\sthey\sdo\snot\swork.\r\n\r\n====\ssafe-9.20\scheck\smodule\sloading\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sset\si\s[safe::interpCreate\s-accessPath\s[list\s$tcl_library]]\r\n\r\n\s\s\s\s#\sInspect.\r\n\s\s\s\sset\sconfA\s[safe::interpConfigure\s$i]\r\n\s\s\s\sset\smodsA\s[interp\seval\s$i\s{tcl::tm::path\slist}]\r\n\s\s\s\sset\spath0\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules]]\r\n\s\s\s\sset\spath1\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod1]]\r\n\s\s\s\sset\spath2\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod2]]\r\n\r\n\s\s\s\s#\sTry\sto\sload\sthe\spackages\sand\srun\sa\scommand\sfrom\seach\sone.\r\n\s\s\s\sset\scode0\s[catch\s{interp\seval\s$i\s{package\srequire\stest0}}\smsg0]\r\n\s\s\s\sset\scode1\s[catch\s{interp\seval\s$i\s{package\srequire\smod1::test1}}\smsg1]\r\n\s\s\s\sset\scode2\s[catch\s{interp\seval\s$i\s{package\srequire\smod2::test2}}\smsg2]\r\n\s\s\s\sset\sout0\s\s[interp\seval\s$i\s{test0::try0}]\r\n\s\s\s\sset\sout1\s\s[interp\seval\s$i\s{mod1::test1::try1}]\r\n\s\s\s\sset\sout2\s\s[interp\seval\s$i\s{mod2::test2::try2}]\r\n\r\n\s\s\s\slist\s$path0\s$path1\s$path2\s--\s$modsA\s--\s\s$code0\s$msg0\s$code1\s$msg1\s$code2\s$msg2\s--\s$confA\s--\s$out0\s$out1\s$out2\r\n\r\n----\sResult\swas:\r\n{$p(:1:)}\s{$p(:3:)}\s{$p(:2:)}\s--\s{{$p(:1:)}}\s--\s0\s0.5\s0\s1.0\s0\s2.0\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\sres0\sres1\sres2\r\n----\sResult\sshould\shave\sbeen\s(glob\smatching):\r\n{$p(:1:)}\s{$p(:2:)}\s{$p(:3:)}\s--\s{{$p(:1:)}}\s--\s0\s0.5\s0\s1.0\s0\s2.0\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2*}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\sres0\sres1\sres2\r\n====\ssafe-9.20\sFAILED\r\n\r\n\r\n\r\n====\ssafe-9.21\sinterpConfigure\schange\sthe\saccess\spath;\scheck\smodule\sloading;\sstale\sdata\scase\s1\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sset\si\s[safe::interpCreate\s-accessPath\s[list\s$tcl_library]]\r\n\r\n\s\s\s\s#\sInspect.\r\n\s\s\s\sset\sconfA\s[safe::interpConfigure\s$i]\r\n\s\s\s\sset\smodsA\s[interp\seval\s$i\s{tcl::tm::path\slist}]\r\n\s\s\s\sset\spath0\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules]]\r\n\s\s\s\sset\spath1\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod1]]\r\n\s\s\s\sset\spath2\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod2]]\r\n\r\n\s\s\s\s#\sAdd\sto\saccess\spath.\r\n\s\s\s\s#\sThis\sinjects\smore\stokens,\spushing\smodules\sto\shigher\stoken\snumbers.\r\n\s\s\s\ssafe::interpConfigure\s$i\s-accessPath\s[list\s$tcl_library\s\s[file\sjoin\s$TestsDir\sauto0\sauto1]\s\s[file\sjoin\s$TestsDir\sauto0\sauto2]]\r\n\r\n\s\s\s\s#\sInspect.\r\n\s\s\s\sset\sconfB\s[safe::interpConfigure\s$i]\r\n\s\s\s\sset\smodsB\s[interp\seval\s$i\s{tcl::tm::path\slist}]\r\n\s\s\s\sset\spath3\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules]]\r\n\s\s\s\sset\spath4\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod1]]\r\n\s\s\s\sset\spath5\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod2]]\r\n\r\n\s\s\s\s#\sLoad\spkg\sdata.\r\n\s\s\s\scatch\s{interp\seval\s$i\s{package\srequire\sNOEXIST}}\r\n\s\s\s\scatch\s{interp\seval\s$i\s{package\srequire\smod1::NOEXIST}}\r\n\s\s\s\scatch\s{interp\seval\s$i\s{package\srequire\smod2::NOEXIST}}\r\n\r\n\s\s\s\s#\sTry\sto\sload\sthe\spackages\sand\srun\sa\scommand\sfrom\seach\sone.\r\n\s\s\s\sset\scode0\s[catch\s{interp\seval\s$i\s{package\srequire\stest0}}\smsg0]\r\n\s\s\s\sset\scode1\s[catch\s{interp\seval\s$i\s{package\srequire\smod1::test1}}\smsg1]\r\n\s\s\s\sset\scode2\s[catch\s{interp\seval\s$i\s{package\srequire\smod2::test2}}\smsg2]\r\n\s\s\s\sset\sout0\s\s[interp\seval\s$i\s{test0::try0}]\r\n\s\s\s\sset\sout1\s\s[interp\seval\s$i\s{mod1::test1::try1}]\r\n\s\s\s\sset\sout2\s\s[interp\seval\s$i\s{mod2::test2::try2}]\r\n\r\n\s\s\s\slist\s$path0\s$path1\s$path2\s--\s$modsA\s--\s$path3\s$path4\s$path5\s--\s$modsB\s--\s\s$code0\s$msg0\s$code1\s$msg1\s$code2\s$msg2\s--\s$confA\s--\s$confB\s--\s\s$out0\s$out1\s$out2\r\n\r\n----\sResult\swas:\r\n{$p(:1:)}\s{$p(:3:)}\s{$p(:2:)}\s--\s{{$p(:1:)}}\s--\s{$p(:3:)}\s{$p(:5:)}\s{$p(:4:)}\s--\s{{$p(:3:)}}\s--\s0\s0.5\s0\s1.0\s0\s2.0\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto1\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\sres0\sres1\sres2\r\n----\sResult\sshould\shave\sbeen\s(glob\smatching):\r\n{$p(:1:)}\s{$p(:2:)}\s{$p(:3:)}\s--\s{{$p(:1:)}}\s--\s{$p(:3:)}\s{$p(:4:)}\s{$p(:5:)}\s--\s{{$p(:3:)}}\s--\s0\s0.5\s0\s1.0\s0\s2.0\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto1\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\sres0\sres1\sres2\r\n====\ssafe-9.21\sFAILED\r\n\r\n\r\n\r\n====\ssafe-9.22\sinterpConfigure\schange\sthe\saccess\spath;\scheck\smodule\sloading;\sstale\sdata\scase\s0\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sset\si\s[safe::interpCreate\s-accessPath\s[list\s$tcl_library]]\r\n\r\n\s\s\s\s#\sInspect.\r\n\s\s\s\sset\sconfA\s[safe::interpConfigure\s$i]\r\n\s\s\s\sset\smodsA\s[interp\seval\s$i\s{tcl::tm::path\slist}]\r\n\s\s\s\sset\spath0\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules]]\r\n\s\s\s\sset\spath1\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod1]]\r\n\s\s\s\sset\spath2\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod2]]\r\n\r\n\s\s\s\s#\sAdd\sto\saccess\spath.\r\n\s\s\s\s#\sThis\sinjects\smore\stokens,\spushing\smodules\sto\shigher\stoken\snumbers.\r\n\s\s\s\ssafe::interpConfigure\s$i\s-accessPath\s[list\s$tcl_library\s\s[file\sjoin\s$TestsDir\sauto0\sauto1]\s\s[file\sjoin\s$TestsDir\sauto0\sauto2]]\r\n\r\n\s\s\s\s#\sInspect.\r\n\s\s\s\sset\sconfB\s[safe::interpConfigure\s$i]\r\n\s\s\s\sset\smodsB\s[interp\seval\s$i\s{tcl::tm::path\slist}]\r\n\s\s\s\sset\spath3\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules]]\r\n\s\s\s\sset\spath4\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod1]]\r\n\s\s\s\sset\spath5\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod2]]\r\n\r\n\s\s\s\s#\sTry\sto\sload\sthe\spackages\sand\srun\sa\scommand\sfrom\seach\sone.\r\n\s\s\s\sset\scode0\s[catch\s{interp\seval\s$i\s{package\srequire\stest0}}\smsg0]\r\n\s\s\s\sset\scode1\s[catch\s{interp\seval\s$i\s{package\srequire\smod1::test1}}\smsg1]\r\n\s\s\s\sset\scode2\s[catch\s{interp\seval\s$i\s{package\srequire\smod2::test2}}\smsg2]\r\n\s\s\s\sset\sout0\s\s[interp\seval\s$i\s{test0::try0}]\r\n\s\s\s\sset\sout1\s\s[interp\seval\s$i\s{mod1::test1::try1}]\r\n\s\s\s\sset\sout2\s\s[interp\seval\s$i\s{mod2::test2::try2}]\r\n\r\n\s\s\s\slist\s$path0\s$path1\s$path2\s--\s$modsA\s--\s$path3\s$path4\s$path5\s--\s$modsB\s--\s\s$code0\s$msg0\s$code1\s$msg1\s$code2\s$msg2\s--\s$confA\s--\s$confB\s--\s\s$out0\s$out1\s$out2\r\n\r\n----\sResult\swas:\r\n{$p(:1:)}\s{$p(:3:)}\s{$p(:2:)}\s--\s{{$p(:1:)}}\s--\s{$p(:3:)}\s{$p(:5:)}\s{$p(:4:)}\s--\s{{$p(:3:)}}\s--\s0\s0.5\s0\s1.0\s0\s2.0\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto1\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\sres0\sres1\sres2\r\n----\sResult\sshould\shave\sbeen\s(glob\smatching):\r\n{$p(:1:)}\s{$p(:2:)}\s{$p(:3:)}\s--\s{{$p(:1:)}}\s--\s{$p(:3:)}\s{$p(:4:)}\s{$p(:5:)}\s--\s{{$p(:3:)}}\s--\s0\s0.5\s0\s1.0\s0\s2.0\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto1\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\sres0\sres1\sres2\r\n====\ssafe-9.22\sFAILED\r\n\r\n\r\n\r\n====\ssafe-9.23\sinterpConfigure\schange\sthe\saccess\spath;\scheck\smodule\sloading;\sstale\sdata\scase\s3\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sset\si\s[safe::interpCreate\s-accessPath\s[list\s$tcl_library]]\r\n\r\n\s\s\s\s#\sInspect.\r\n\s\s\s\sset\sconfA\s[safe::interpConfigure\s$i]\r\n\s\s\s\sset\smodsA\s[interp\seval\s$i\s{tcl::tm::path\slist}]\r\n\s\s\s\sset\spath0\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules]]\r\n\s\s\s\sset\spath1\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod1]]\r\n\s\s\s\sset\spath2\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod2]]\r\n\r\n\s\s\s\s#\sForce\sthe\sinterpreter\sto\sacquire\spkg\sdata\swhich\swill\ssoon\sbecome\sstale.\r\n\s\s\s\scatch\s{interp\seval\s$i\s{package\srequire\sNOEXIST}}\r\n\s\s\s\scatch\s{interp\seval\s$i\s{package\srequire\smod1::NOEXIST}}\r\n\s\s\s\scatch\s{interp\seval\s$i\s{package\srequire\smod2::NOEXIST}}\r\n\r\n\s\s\s\s#\sAdd\sto\saccess\spath.\r\n\s\s\s\s#\sThis\sinjects\smore\stokens,\spushing\smodules\sto\shigher\stoken\snumbers.\r\n\s\s\s\ssafe::interpConfigure\s$i\s-accessPath\s[list\s$tcl_library\s\s[file\sjoin\s$TestsDir\sauto0\sauto1]\s\s[file\sjoin\s$TestsDir\sauto0\sauto2]]\r\n\r\n\s\s\s\s#\sInspect.\r\n\s\s\s\sset\sconfB\s[safe::interpConfigure\s$i]\r\n\s\s\s\sset\smodsB\s[interp\seval\s$i\s{tcl::tm::path\slist}]\r\n\s\s\s\sset\spath3\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules]]\r\n\s\s\s\sset\spath4\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod1]]\r\n\s\s\s\sset\spath5\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod2]]\r\n\r\n\s\s\s\s#\sRefresh\sstale\spkg\sdata.\r\n\s\s\s\scatch\s{interp\seval\s$i\s{package\srequire\sNOEXIST}}\r\n\s\s\s\scatch\s{interp\seval\s$i\s{package\srequire\smod1::NOEXIST}}\r\n\s\s\s\scatch\s{interp\seval\s$i\s{package\srequire\smod2::NOEXIST}}\r\n\r\n\s\s\s\s#\sTry\sto\sload\sthe\spackages\sand\srun\sa\scommand\sfrom\seach\sone.\r\n\s\s\s\sset\scode0\s[catch\s{interp\seval\s$i\s{package\srequire\stest0}}\smsg0]\r\n\s\s\s\sset\scode1\s[catch\s{interp\seval\s$i\s{package\srequire\smod1::test1}}\smsg1]\r\n\s\s\s\sset\scode2\s[catch\s{interp\seval\s$i\s{package\srequire\smod2::test2}}\smsg2]\r\n\s\s\s\sset\sout0\s\s[interp\seval\s$i\s{test0::try0}]\r\n\s\s\s\sset\sout1\s\s[interp\seval\s$i\s{mod1::test1::try1}]\r\n\s\s\s\sset\sout2\s\s[interp\seval\s$i\s{mod2::test2::try2}]\r\n\r\n\s\s\s\slist\s$path0\s$path1\s$path2\s--\s$modsA\s--\s$path3\s$path4\s$path5\s--\s$modsB\s--\s\s$code0\s$msg0\s$code1\s$msg1\s$code2\s$msg2\s--\s$confA\s--\s$confB\s--\s\s$out0\s$out1\s$out2\r\n\r\n\r\n----\sResult\swas:\r\n{$p(:1:)}\s{$p(:3:)}\s{$p(:2:)}\s--\s{{$p(:1:)}}\s--\s{$p(:3:)}\s{$p(:5:)}\s{$p(:4:)}\s--\s{{$p(:3:)}}\s--\s0\s0.5\s0\s1.0\s0\s2.0\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto1\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\sres0\sres1\sres2\r\n----\sResult\sshould\shave\sbeen\s(glob\smatching):\r\n{$p(:1:)}\s{$p(:2:)}\s{$p(:3:)}\s--\s{{$p(:1:)}}\s--\s{$p(:3:)}\s{$p(:4:)}\s{$p(:5:)}\s--\s{{$p(:3:)}}\s--\s0\s0.5\s0\s1.0\s0\s2.0\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto1\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\sres0\sres1\sres2\r\n====\ssafe-9.23\sFAILED\r\n\r\n\r\n\r\n====\ssafe-9.24\sinterpConfigure\schange\sthe\saccess\spath;\scheck\smodule\sloading;\sstale\sdata\scase\s2\s(worst\scase)\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sset\si\s[safe::interpCreate\s-accessPath\s[list\s$tcl_library]]\r\n\r\n\s\s\s\s#\sInspect.\r\n\s\s\s\sset\sconfA\s[safe::interpConfigure\s$i]\r\n\s\s\s\sset\smodsA\s[interp\seval\s$i\s{tcl::tm::path\slist}]\r\n\s\s\s\sset\spath0\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules]]\r\n\s\s\s\sset\spath1\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod1]]\r\n\s\s\s\sset\spath2\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod2]]\r\n\r\n\s\s\s\s#\sForce\sthe\sinterpreter\sto\sacquire\spkg\sdata\swhich\swill\ssoon\sbecome\sstale.\r\n\s\s\s\scatch\s{interp\seval\s$i\s{package\srequire\sNOEXIST}}\r\n\s\s\s\scatch\s{interp\seval\s$i\s{package\srequire\smod1::NOEXIST}}\r\n\s\s\s\scatch\s{interp\seval\s$i\s{package\srequire\smod2::NOEXIST}}\r\n\r\n\s\s\s\s#\sAdd\sto\saccess\spath.\r\n\s\s\s\s#\sThis\sinjects\smore\stokens,\spushing\smodules\sto\shigher\stoken\snumbers.\r\n\s\s\s\ssafe::interpConfigure\s$i\s-accessPath\s[list\s$tcl_library\s\s[file\sjoin\s$TestsDir\sauto0\sauto1]\s\s[file\sjoin\s$TestsDir\sauto0\sauto2]]\r\n\r\n\s\s\s\s#\sInspect.\r\n\s\s\s\sset\sconfB\s[safe::interpConfigure\s$i]\r\n\s\s\s\sset\smodsB\s[interp\seval\s$i\s{tcl::tm::path\slist}]\r\n\s\s\s\sset\spath3\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules]]\r\n\s\s\s\sset\spath4\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod1]]\r\n\s\s\s\sset\spath5\s[::safe::interpFindInAccessPath\s$i\s[file\sjoin\s$TestsDir\sauto0\smodules\smod2]]\r\n\r\n\s\s\s\s#\sTry\sto\sload\sthe\spackages\sand\srun\sa\scommand\sfrom\seach\sone.\r\n\s\s\s\sset\scode0\s[catch\s{interp\seval\s$i\s{package\srequire\stest0}}\smsg0]\r\n\s\s\s\sset\scode1\s[catch\s{interp\seval\s$i\s{package\srequire\smod1::test1}}\smsg1]\r\n\s\s\s\sset\scode2\s[catch\s{interp\seval\s$i\s{package\srequire\smod2::test2}}\smsg2]\r\n\s\s\s\sset\sout0\s\s[interp\seval\s$i\s{test0::try0}]\r\n\s\s\s\sset\sout1\s\s[interp\seval\s$i\s{mod1::test1::try1}]\r\n\s\s\s\sset\sout2\s\s[interp\seval\s$i\s{mod2::test2::try2}]\r\n\r\n\s\s\s\slist\s$path0\s$path1\s$path2\s--\s$modsA\s--\s$path3\s$path4\s$path5\s--\s$modsB\s--\s\s$code0\s$msg0\s$code1\s$msg1\s$code2\s$msg2\s--\s$confA\s--\s$confB\s--\s\s$out0\s$out1\s$out2\r\n\r\n----\sResult\swas:\r\n{$p(:1:)}\s{$p(:3:)}\s{$p(:2:)}\s--\s{{$p(:1:)}}\s--\s{$p(:3:)}\s{$p(:5:)}\s{$p(:4:)}\s--\s{{$p(:3:)}}\s--\s0\s0.5\s0\s1.0\s0\s2.0\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto1\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\sres0\sres1\sres2\r\n----\sResult\sshould\shave\sbeen\s(glob\smatching):\r\n{$p(:1:)}\s{$p(:2:)}\s{$p(:3:)}\s--\s{{$p(:1:)}}\s--\s{$p(:3:)}\s{$p(:4:)}\s{$p(:5:)}\s--\s{{$p(:3:)}}\s--\s0\s0.5\s0\s1.0\s0\s2.0\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\s{-accessPath\s{/Users/dgp/fossil/tcl8.6/library\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto1\s/Users/dgp/fossil/tcl8.6/tests/auto0/auto2\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod1\s/Users/dgp/fossil/tcl8.6/tests/auto0/modules/mod2}\s-statics\s1\s-nested\s0\s-deleteHook\s{}}\s--\sres0\sres1\sres2\r\n====\ssafe-9.24\sFAILED
J foundin 8.6
J is_private 0
J login dgp
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter dgp
J subsystem 33.\sSafe\sBase
J title New\ssafe.test\sfailures
J type Bug
K 342a6eda8f3672b1a63a52894a60f215af735c22
U dgp
Z 10fbe3d9e068f60d0690e2818a4c1827