Posted to tcl by hypnotoad at Thu Jan 04 02:46:39 GMT 2018view raw

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