Posted to tcl by hypnotoad at Tue Nov 07 16:57:14 GMT 2017view raw

  1. Tests running in interp: /Users/seandeelywoods/dev/dirt/tcl-zipfs/unix/tcltest
  2. Tests located in: /Users/seandeelywoods/dev/dirt/tcl-zipfs/tests
  3. Tests running in: /Users/seandeelywoods/dev/dirt/tcl-zipfs/unix
  4. Temporary files stored in /Users/seandeelywoods/dev/dirt/tcl-zipfs/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:50:17 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. 22
  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. zipfs.test
  270.  
  271.  
  272. ==== zipfs-1.1 zipfs basics FAILED
  273. ==== Contents of test case:
  274.  
  275. load {} zipfs
  276.  
  277. ---- Test generated error; Return code was: 1
  278. ---- Return code should have been one of: 0 2
  279. ---- errorInfo: package "zipfs" isn't loaded statically
  280. while executing
  281. "load {} zipfs"
  282. ("uplevel" body line 2)
  283. invoked from within
  284. "uplevel 1 $script"
  285. ---- errorCode: TCL OPERATION LOAD NOTSTATIC
  286. ==== zipfs-1.1 FAILED
  287.  
  288.  
  289.  
  290. ==== zipfs-2.2 zipfs mkzip FAILED
  291. ==== Contents of test case:
  292.  
  293. set pwd [pwd]
  294. cd $tcl_library/encoding
  295. zipfs mkzip abc.zip .
  296. zipfs mount abc.zip /abc
  297. zipfs list -glob /abc/cp850.*
  298.  
  299. ---- Result was:
  300.  
  301. ---- Result should have been (exact matching):
  302. /abc/cp850.enc
  303. ==== zipfs-2.2 FAILED
  304.  
  305.  
  306.  
  307. ==== zipfs-2.3 zipfs unmount FAILED
  308. ==== Contents of test case:
  309.  
  310. zipfs info /abc/cp850.enc
  311.  
  312. ---- Result was:
  313. /Users/seandeelywoods/dev/dirt/tcl-zipfs/library/encoding/abc.zip 1090 527 39318
  314. ---- Result should have been (exact matching):
  315. /Users/seandeelywoods/dev/dirt/tcl-zipfs/library/encoding/abc.zip 1090 527 39434
  316. ==== zipfs-2.3 FAILED
  317.  
  318.  
  319.  
  320. ==== zipfs-2.4 zipfs unmount FAILED
  321. ==== Contents of test case:
  322.  
  323. set f [open /abc/cp850.enc]
  324. read $f
  325.  
  326. ---- Test generated error; Return code was: 1
  327. ---- Return code should have been one of: 0 2
  328. ---- errorInfo: couldn't open "/abc/cp850.enc": no such file or directory
  329. while executing
  330. "open /abc/cp850.enc"
  331. ("uplevel" body line 2)
  332. invoked from within
  333. "uplevel 1 $script"
  334. ---- errorCode: POSIX ENOENT {no such file or directory}
  335. ==== zipfs-2.4 FAILED
  336.  
  337. zlib.test
  338.  
  339. Tests ended at Tue Nov 07 11:53:39 EST 2017
  340. all.tcl: Total 31475 Passed 30177 Skipped 1289 Failed 9
  341. Sourced 149 Test Files.
  342. Files with failing tests: exec.test macOSXFCmd.test socket.test zipfs.test
  343. Number of tests skipped for each constraint:
  344. 9 !ieeeFloatingPoint
  345. 3 asyncPipeChan
  346. 76 bigEndian
  347. 5 bug-3057639
  348. 49 dde
  349. 4 dontCopyLinks
  350. 63 emptyTest
  351. 1 execMknod
  352. 5 fullutf
  353. 2 hasIsoLocale
  354. 1 knownBadTest
  355. 39 knownBug
  356. 2 largefileSupport
  357. 100 localeRegexp
  358. 48 longIs32bit
  359. 79 memory
  360. 45 nonPortable
  361. 1 notDarwin9
  362. 5 notNetworkFilesystem
  363. 1 obsolete
  364. 3 singleTestInterp
  365. 1 testexprparser && !ieeeFloatingPoint
  366. 7 testpreferstable
  367. 1 testwinclock
  368. 21 testwordend
  369. 189 thread
  370. 2 unthreaded
  371. 2 wideBiggerThanInt
  372. 504 win
  373. 4 winVista
  374. 6 xdev
  375. basra:unix seandeelywoods$
  376.