Artifacts Associated With Ticket 255c116110
Ticket change [13a2244c7f] (rid 185176) by bll on 2020-07-23 17:02:21:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
As reported in: https://groups.google.com/d/topic/comp.lang.tcl/SG8nCmH1JGE/discussion there are two test failures on FreeBSD. I tested with core-8-6-branch and a fully updated FreeBSD 12.1. Test results attached.
- foundin initialized to: "core-8-6-branch"
- is_private initialized to: "0"
- login: "bll"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "bll"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "freebsd: test failures"
- type initialized to: "Bug"
Add attachment "w.tcl-test" [d37dd16e6a] (rid 185178) by bll on 2020-07-23 17:02:57.
Ticket change [7155671621] (rid 185188) by bll on 2020-07-23 19:20:37:
- icomment:
This is relevant: https://bugs.python.org/issue15747 Yes, my FreeBSD VM is configured to use ZFS. -code 1 -level 0 -errorstack {INNER invokeReplace} -errorcode {POSIX ENOTSUP {operation not supported}} -errorinfo {could not set flags for file "foo.test": operation not supported The test needs to be modified to check for ENOTSUP. - login: "bll"
- mimetype: "text/plain"
- icomment:
Ticket change [49e9b7377e] (rid 185189) by bll on 2020-07-23 19:52:12:
- icomment:
I think the socket test was just a mis-configuration of ipv6. Adding 'fe80::1 freebsd12' to /etc/hosts fixed the socket test. But after doing that, an http test fails: ==== http-4.14 http::Event FAILED ==== Contents of test case: set token [http::geturl $badurl/?timeout=10 -timeout 10000 -command \#] if {$token eq ""} { error "bogus return from http::geturl" } http::wait $token lindex [http::error $token] 0 ---- Result was: ---- Result should have been (exact matching): connect failed connection refused ==== http-4.14 FAILED The other test can modified as below: test unixFCmd-20.1 {SetReadOnlyAttribute} -match regexp -setup { catch {file delete -force -- foo.test} } -constraints {unix notRoot readonlyAttr} -body { close [open foo.test w] catch {file attributes foo.test -readonly 1} err res if { [lindex [dict get $res -errorcode] 1] eq "ENOTSUP" } { set result ENOTSUP } else { set result [list [catch {file attributes foo.test -readonly 1} msg] $msg \ [catch {file attribute foo.test -readonly} msg] $msg \ [catch {file delete -force -- foo.test}] \ [catch {file attributes foo.test -readonly 0} msg] $msg \ [catch {file attribute foo.test -readonly} msg] $msg] } set result } -cleanup { file delete -force -- foo.test } -result "^(ENOTSUP|[list 0 {} 0 1 1 0 {} 0 0])\$" - login: "bll"
- mimetype: "text/plain"
- icomment:
Ticket change [18659f213f] (rid 226568) by dkf on 2024-05-24 09:19:01:
- icomment:
I'm not really sure that we _want_ to make that test much more specific like that. It might be better to change it to demand that it "fails" but not that it fails in a specific way. (Mind you, with my ISP it "fails" in a bad way: a connection is formed because of some damn proxy they use. I normally exclude the HTTP tests because of that sort of nonsense.) I suspect that the _other_ bug is best dealt with through adjusting the test constraints. Which is to say: rather than having contorted code, just make the test not run if the `-readonly` attribute gives `ENOTSUP` on read.
- login: "dkf"
- mimetype: "text/x-markdown"
- subsystem changed to: "29. http Package"
- icomment: