Daniel H. wrote:
I don’t quite know what you are asking, but –
If you do not want buffered output, set $stdout.sync = true (or
$stderr). If $stdout.sync is false (and it is by default), the line
will not be flushed until a newline. You could also just call IO#flush.
Without examining the code, which is probably the next step, I speculate
that these '.'s are set by Test::Unit to provide support for some sort
of progress status bar. I am not sufficently well versed in Ruby (I
wrote my first non trival program in it last week) to have encountered
things like $stdout.sync and IO.flush. However, having this new
information combined with my previous experience with the mysterous '.'s
leads me to the inference above.
This is no more than an inquiry as to why these things appeared
unexpectedly in my output, which happened to be directory strings
wherein a prefix of . has rather profound implications.
Thanks for the information. It clarifies a few items of confusion.