Posted to tcl by hypnotoad at Thu Jan 04 02:29:55 GMT 2018view raw

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