Skip to content
Tcl Source Code Artifact [17dc41212b]
Login

Artifact [17dc41212b]

Artifact 17dc41212b7ecd7d5445709026a93bbdff4903e89de89e1edfcd128dcf767183:

Ticket change [17dc41212b] - Ticket [c54e4a1aeb999fe8|c54e4a1aeb] <i>High Tcl latencies with fork() in larger systems</i> status still Open with 3 other changes by jan.nijtmans on 2023-07-03 20:11:07.
D 2023-07-03T20:11:07.379
J icomment Test-result\son\sMacOSX:\r\n<pre>\r\n====\sexec-9.1\scommands\sreturning\serrors\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sset\sx\s[catch\s{exec\sgorp456}\smsg]\r\n\s\s\s\slist\s$x\s[string\stolower\s$msg]\s[string\stolower\s$errorCode]\r\n\r\n----\sResult\swas:\r\n1\s{couldn't\sexecute\s"gorp456":\sundefined\serror:\s0}\s{posix\s{unknown\serror}\s{undefined\serror:\s0}}\r\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\r\n1\s{couldn't\sexecute\s"gorp456":\sno\ssuch\sfile\sor\sdirectory}\s{posix\senoent\s{no\ssuch\sfile\sor\sdirectory}}\r\n====\sexec-9.1\sFAILED\r\n\r\n\r\n\r\n====\sexec-9.2\scommands\sreturning\serrors\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sstring\stolower\s[list\s[catch\s{exec\s[interpreter]\secho\sfoo\s|\sfoo123}\smsg]\s$msg\s$errorCode]\r\n\r\n----\sResult\swas:\r\n1\s{couldn't\sexecute\s"foo123":\sundefined\serror:\s0}\s{posix\s{unknown\serror}\s{undefined\serror:\s0}}\r\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\r\n1\s{couldn't\sexecute\s"foo123":\sno\ssuch\sfile\sor\sdirectory}\s{posix\senoent\s{no\ssuch\sfile\sor\sdirectory}}\r\n====\sexec-9.2\sFAILED\r\n\r\n\r\n\r\n====\sexec-9.5\scommands\sreturning\serrors\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sexec\sgorp456\s|\s[interpreter]\secho\sa\sb\sc\r\n\r\n----\sResult\swas:\r\ncouldn't\sexecute\s"gorp456":\sUndefined\serror:\s0\r\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\r\ncouldn't\sexecute\s"gorp456":\sno\ssuch\sfile\sor\sdirectory\r\n====\sexec-9.5\sFAILED\r\n\r\n\r\n\r\n====\sexec-13.3\ssetting\serrorCode\svariable\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sset\sx\s[catch\s{exec\s_weird_cmd_}\smsg]\r\n\s\s\s\slist\s$x\s[string\stolower\s$msg]\s[lindex\s$errorCode\s0]\s\s[string\stolower\s[lrange\s$errorCode\s2\send]]\r\n\r\n----\sResult\swas:\r\n1\s{couldn't\sexecute\s"_weird_cmd_":\sundefined\serror:\s0}\sPOSIX\s{{undefined\serror:\s0}}\r\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\r\n1\s{couldn't\sexecute\s"_weird_cmd_":\sno\ssuch\sfile\sor\sdirectory}\sPOSIX\s{{no\ssuch\sfile\sor\sdirectory}}\r\n====\sexec-13.3\sFAILED\r\n\r\n\r\n\r\n====\sexec-14.4\s--\sswitch\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sexec\s--\s-gorp\r\n\r\n----\sResult\swas:\r\ncouldn't\sexecute\s"-gorp":\sUndefined\serror:\s0\r\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\r\ncouldn't\sexecute\s"-gorp":\sno\ssuch\sfile\sor\sdirectory\r\n====\sexec-14.4\sFAILED\r\n\r\n\r\n\r\n====\sexec-17.1\sinheriting\sstandard\sI/O\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\scatch\s{exec\s[interpreter]\s$path(script)}\sresult\r\n\s\s\s\slist\s$result\s[readfile\s$path(gorp.file)]\r\n\r\n----\sResult\swas:\r\n{}\s{}\r\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\r\n{}\sfoobar\r\n====\sexec-17.1\sFAILED\r\n...\r\n====\siocmd-11.4\sI/O\sto\scommand\spipelines\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\slist\s[catch\s{open\s"|\sno_such_command_exists"\srb}\smsg]\s$msg\s$::errorCode\r\n\r\n----\sResult\swas:\r\n1\s{couldn't\sexecute\s"no_such_command_exists":\sUndefined\serror:\s0}\s{POSIX\s{unknown\serror}\s{Undefined\serror:\s0}}\r\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\r\n1\s{couldn't\sexecute\s"no_such_command_exists":\sno\ssuch\sfile\sor\sdirectory}\s{POSIX\sENOENT\s{no\ssuch\sfile\sor\sdirectory}}\r\n====\siocmd-11.4\sFAILED\r\n</pre>\r\n\r\nThis\slooks\ssolvable,\sbut\sit\smeans\sthe\sbranch\sis\snot\sready\sto\sbe\smerged\syet
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K c54e4a1aeb999fe8d878eae790243739ef05517a
U jan.nijtmans
Z dec0a844c8bbbfd43832239a028057a1