Posted to tcl by hypnotoad at Tue Nov 07 16:52:18 GMT 2017view raw

  1. Tests running in interp: /Users/seandeelywoods/dev/dirt/tcl/unix/tcltest
  2. Tests located in: /Users/seandeelywoods/dev/dirt/tcl/tests
  3. Tests running in: /Users/seandeelywoods/dev/dirt/tcl/unix
  4. Temporary files stored in /Users/seandeelywoods/dev/dirt/tcl/unix
  5. Test files run in separate interpreters
  6. Running tests that match: *
  7. Skipping test files that match: l.*.test
  8. Only running test files that match: *.test
  9. Tests began at Tue Nov 07 11:46:19 EST 2017
  10. aaa_exit.test
  11. append.test
  12. appendComp.test
  13. apply.test
  14. assemble.test
  15. assocd.test
  16. async.test
  17. autoMkindex.test
  18. basic.test
  19. binary.test
  20. case.test
  21. chan.test
  22. chanio.test
  23. clock.test
  24. cmdAH.test
  25. cmdIL.test
  26. cmdInfo.test
  27. cmdMZ.test
  28. compExpr-old.test
  29. compExpr.test
  30. compile.test
  31. concat.test
  32. config.test
  33. coroutine.test
  34. dcall.test
  35. dict.test
  36. dstring.test
  37. encoding.test
  38. env.test
  39. error.test
  40. eval.test
  41. event.test
  42. exec.test
  43.  
  44.  
  45. ==== exec-19.1 exec >> uses O_APPEND FAILED
  46. ==== Contents of test case:
  47.  
  48. # Note that we have to allow for the current contents of the temporary
  49. # file, which is why the result is 14 and not 12
  50. exec /bin/sh -c {for a in 1 2 3; do sleep 1; echo $a; done} >>$tmpfile &
  51. exec /bin/sh -c {for a in 4 5 6; do sleep 1; echo $a >&2; done} 2>>$tmpfile &
  52. exec /bin/sh -c {for a in a b c; do sleep 1; echo $a; done} >>$tmpfile &
  53. exec /bin/sh -c {for a in d e f; do sleep 1; echo $a >&2; done} 2>>$tmpfile &
  54. # The above four shell invokations take about 3 seconds to finish, so allow
  55. # 5s (in case the machine is busy)
  56. after 5000
  57. # Check that no bytes have got lost through mixups with overlapping
  58. # appends, which is only guaranteed to work when we set O_APPEND on the
  59. # file descriptor in the [exec >>...]
  60. file size $tmpfile
  61.  
  62. ---- Result was:
  63. 24
  64. ---- Result should have been (exact matching):
  65. 26
  66. ==== exec-19.1 FAILED
  67.  
  68. execute.test
  69. expr-old.test
  70. expr.test
  71. fCmd.test
  72. fileName.test
  73. fileSystem.test
  74. for-old.test
  75. for.test
  76. foreach.test
  77. format.test
  78. get.test
  79. history.test
  80. http.test
  81. http11.test
  82. httpold.test
  83. if-old.test
  84. if.test
  85. incr-old.test
  86. incr.test
  87. indexObj.test
  88. info.test
  89. init.test
  90. interp.test
  91. io.test
  92. ioCmd.test
  93. ioTrans.test
  94. iogt.test
  95. join.test
  96. lindex.test
  97. link.test
  98. linsert.test
  99. list.test
  100. listObj.test
  101. llength.test
  102. lmap.test
  103. load.test
  104. lrange.test
  105. lrepeat.test
  106. lreplace.test
  107. lsearch.test
  108. lset.test
  109. lsetComp.test
  110. macOSXFCmd.test
  111.  
  112.  
  113. ==== macOSXFCmd-2.7 MacOSXSetFileAttribute - rsrclength FAILED
  114. ==== Contents of test case:
  115.  
  116. catch {file delete -force -- foo.test}
  117. close [open foo.test w]
  118. catch {
  119. set f [open foo.test/..namedfork/rsrc w]
  120. fconfigure $f -translation lf -eofchar {}
  121. puts -nonewline $f "foo"
  122. close $f
  123. }
  124. list [catch {file attributes foo.test -rsrclength} msg] $msg [catch {file attributes foo.test -rsrclength 0} msg] $msg [catch {file attributes foo.test -rsrclength} msg] $msg [file delete -force -- foo.test]
  125.  
  126. ---- Result was:
  127. 0 3 0 {} 0 3 {}
  128. ---- Result should have been (exact matching):
  129. 0 3 0 {} 0 0 {}
  130. ==== macOSXFCmd-2.7 FAILED
  131.  
  132.  
  133.  
  134. ==== macOSXFCmd-4.1 TclMacOSXMatchType FAILED
  135. ==== Contents of test case:
  136.  
  137. file mkdir globtest
  138. cd globtest
  139. foreach f {bar baz foo inv inw .nv reg} {
  140. catch {file delete -force -- $f.test}
  141. close [open $f.test w]
  142. }
  143. catch {file delete -force -- dir.test}
  144. file mkdir dir.test
  145. catch {
  146. file attributes bar.test -type FOOT
  147. file attributes baz.test -creator FOOC -type FOOT
  148. file attributes foo.test -creator FOOC
  149. file attributes inv.test -hidden 1
  150. file attributes inw.test -hidden 1 -type FOOT
  151. file attributes dir.test -hidden 1
  152. }
  153. set res [list [catch {glob *.test} msg] $msg [catch {glob -types FOOT *.test} msg] $msg [catch {glob -types {{macintosh type FOOT}} *.test} msg] $msg [catch {glob -types FOOTT *.test} msg] $msg [catch {glob -types {{macintosh type FOOTT}} *.test} msg] $msg [catch {glob -types {{macintosh type {}}} *.test} msg] $msg [catch {glob -types {{macintosh creator FOOC}} *.test} msg] $msg [catch {glob -types {{macintosh creator FOOC} {macintosh type FOOT}} *.test} msg] $msg [catch {glob -types hidden *.test} msg] $msg [catch {glob -types {hidden FOOT} *.test} msg] $msg ]
  154. cd ..
  155. file delete -force globtest
  156. set res
  157.  
  158. ---- Result was:
  159. 0 {foo.test bar.test reg.test baz.test dir.test inv.test inw.test} 0 {bar.test baz.test inw.test} 0 {bar.test baz.test inw.test} 1 {bad argument to "-types": FOOTT} 1 {expected Macintosh OS type but got "FOOTT": } 0 {foo.test reg.test inv.test} 0 {foo.test baz.test} 0 baz.test 0 {.nv.test dir.test inv.test inw.test} 0 inw.test
  160. ---- Result should have been (exact matching):
  161. 0 {bar.test baz.test dir.test foo.test inv.test inw.test reg.test} 0 {bar.test baz.test inw.test} 0 {bar.test baz.test inw.test} 1 {bad argument to "-types": FOOTT} 1 {expected Macintosh OS type but got "FOOTT": } 0 {foo.test inv.test reg.test} 0 {baz.test foo.test} 0 baz.test 0 {.nv.test dir.test inv.test inw.test} 0 inw.test
  162. ==== macOSXFCmd-4.1 FAILED
  163.  
  164. macOSXLoad.test
  165. main.test
  166. mathop.test
  167. misc.test
  168. msgcat.test
  169. namespace-old.test
  170. namespace.test
  171. notify.test
  172. nre.test
  173. obj.test
  174. oo.test
  175. ooNext2.test
  176. opt.test
  177. package.test
  178. parse.test
  179. parseExpr.test
  180. parseOld.test
  181. pid.test
  182. pkgMkIndex.test
  183. platform.test
  184. proc-old.test
  185. proc.test
  186. pwd.test
  187. reg.test
  188. regexp.test
  189. regexpComp.test
  190. registry.test
  191. rename.test
  192. resolver.test
  193. result.test
  194. safe.test
  195. scan.test
  196. security.test
  197. set-old.test
  198. set.test
  199. socket.test
  200.  
  201.  
  202. ==== socket-14.0.0 [socket -async] when server only listens on IPv4 FAILED
  203. ==== Contents of test case:
  204.  
  205. set client [socket -async localhost $port]
  206. set after [after $latency {set x [fconfigure $client -error]}]
  207. vwait x
  208. set x
  209.  
  210. ---- Result was:
  211.  
  212. ---- Result should have been (exact matching):
  213. ok
  214. ==== socket-14.0.0 FAILED
  215.  
  216.  
  217.  
  218. ==== socket-14.2 [socket -async] fileevent connection refused FAILED
  219. ==== Contents of test case:
  220.  
  221. set client [socket -async localhost [randport]]
  222. fileevent $client writable {set x ok}
  223. set after [after $latency {set x timeout}]
  224. vwait x
  225. after cancel $after
  226. lappend x [fconfigure $client -error]
  227.  
  228. ---- Result was:
  229. timeout {}
  230. ---- Result should have been (exact matching):
  231. ok {connection refused}
  232. ==== socket-14.2 FAILED
  233.  
  234. source.test
  235. split.test
  236. stack.test
  237. string.test
  238. stringComp.test
  239. stringObj.test
  240. subst.test
  241. switch.test
  242. tailcall.test
  243. tcltest.test
  244. thread.test
  245. timer.test
  246. tm.test
  247. trace.test
  248. unixFCmd.test
  249. unixFile.test
  250. unixForkEvent.test
  251. unixInit.test
  252. unixNotfy.test
  253. unknown.test
  254. unload.test
  255. uplevel.test
  256. upvar.test
  257. utf.test
  258. util.test
  259. var.test
  260. while-old.test
  261. while.test
  262. winConsole.test
  263. winDde.test
  264. winFCmd.test
  265. winFile.test
  266. winNotify.test
  267. winPipe.test
  268. winTime.test
  269. zlib.test
  270.  
  271. Tests ended at Tue Nov 07 11:49:41 EST 2017
  272. all.tcl: Total 31460 Passed 30166 Skipped 1289 Failed 5
  273. Sourced 148 Test Files.
  274. Files with failing tests: exec.test macOSXFCmd.test socket.test
  275. Number of tests skipped for each constraint:
  276. 9 !ieeeFloatingPoint
  277. 3 asyncPipeChan
  278. 76 bigEndian
  279. 5 bug-3057639
  280. 49 dde
  281. 4 dontCopyLinks
  282. 63 emptyTest
  283. 1 execMknod
  284. 5 fullutf
  285. 2 hasIsoLocale
  286. 1 knownBadTest
  287. 39 knownBug
  288. 2 largefileSupport
  289. 100 localeRegexp
  290. 48 longIs32bit
  291. 79 memory
  292. 45 nonPortable
  293. 1 notDarwin9
  294. 5 notNetworkFilesystem
  295. 1 obsolete
  296. 3 singleTestInterp
  297. 1 testexprparser && !ieeeFloatingPoint
  298. 7 testpreferstable
  299. 1 testwinclock
  300. 21 testwordend
  301. 189 thread
  302. 2 unthreaded
  303. 2 wideBiggerThanInt
  304. 504 win
  305. 4 winVista
  306. 6 xdev
  307. basra:unix seandeelywoods$