Overview
| Artifact ID: | 17dc41212b7ecd7d5445709026a93bbdff4903e89de89e1edfcd128dcf767183 |
|---|---|
| Ticket: | c54e4a1aeb999fe8d878eae790243739ef05517a
High Tcl latencies with fork() in larger systems |
| User & Date: | jan.nijtmans on 2023-07-03 20:11:07 |
Changes
- icomment:
Test-result on MacOSX: <pre> ==== exec-9.1 commands returning errors FAILED ==== Contents of test case: set x [catch {exec gorp456} msg] list $x [string tolower $msg] [string tolower $errorCode] ---- Result was: 1 {couldn't execute "gorp456": undefined error: 0} {posix {unknown error} {undefined error: 0}} ---- Result should have been (exact matching): 1 {couldn't execute "gorp456": no such file or directory} {posix enoent {no such file or directory}} ==== exec-9.1 FAILED ==== exec-9.2 commands returning errors FAILED ==== Contents of test case: string tolower [list [catch {exec [interpreter] echo foo | foo123} msg] $msg $errorCode] ---- Result was: 1 {couldn't execute "foo123": undefined error: 0} {posix {unknown error} {undefined error: 0}} ---- Result should have been (exact matching): 1 {couldn't execute "foo123": no such file or directory} {posix enoent {no such file or directory}} ==== exec-9.2 FAILED ==== exec-9.5 commands returning errors FAILED ==== Contents of test case: exec gorp456 | [interpreter] echo a b c ---- Result was: couldn't execute "gorp456": Undefined error: 0 ---- Result should have been (exact matching): couldn't execute "gorp456": no such file or directory ==== exec-9.5 FAILED ==== exec-13.3 setting errorCode variable FAILED ==== Contents of test case: set x [catch {exec _weird_cmd_} msg] list $x [string tolower $msg] [lindex $errorCode 0] [string tolower [lrange $errorCode 2 end]] ---- Result was: 1 {couldn't execute "_weird_cmd_": undefined error: 0} POSIX {{undefined error: 0}} ---- Result should have been (exact matching): 1 {couldn't execute "_weird_cmd_": no such file or directory} POSIX {{no such file or directory}} ==== exec-13.3 FAILED ==== exec-14.4 -- switch FAILED ==== Contents of test case: exec -- -gorp ---- Result was: couldn't execute "-gorp": Undefined error: 0 ---- Result should have been (exact matching): couldn't execute "-gorp": no such file or directory ==== exec-14.4 FAILED ==== exec-17.1 inheriting standard I/O FAILED ==== Contents of test case: catch {exec [interpreter] $path(script)} result list $result [readfile $path(gorp.file)] ---- Result was: {} {} ---- Result should have been (exact matching): {} foobar ==== exec-17.1 FAILED ... ==== iocmd-11.4 I/O to command pipelines FAILED ==== Contents of test case: list [catch {open "| no_such_command_exists" rb} msg] $msg $::errorCode ---- Result was: 1 {couldn't execute "no_such_command_exists": Undefined error: 0} {POSIX {unknown error} {Undefined error: 0}} ---- Result should have been (exact matching): 1 {couldn't execute "no_such_command_exists": no such file or directory} {POSIX ENOENT {no such file or directory}} ==== iocmd-11.4 FAILED </pre> This looks solvable, but it means the branch is not ready to be merged yet - login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"