coatl / sequence

Sequence provides a unified api for access to sequential Ruby data types, like Strings, Arrays, Files, IOs, and Enumerations.
sequence.rubyforge.org
Other
14 stars 2 forks source link

windows failures with 1.8 #2

Closed rdp closed 14 years ago

rdp commented 15 years ago

Here they all are:

1) Error: test_size(SequenceTests::IO): Errno::EBADF: Bad file descriptor ./lib/sequence/io.rb:29:in fcntl' ./lib/sequence/io.rb:29:ininitialize' ./lib/sequence.rb:61:in new' ./lib/sequence.rb:61:in[]' ./test/test_rexscan.rb:244:in a_seq' ./test/test_rexscan.rb:416:intest_size'

2) Error: test_size(SequenceTests::ListWrapped::IO): Errno::EBADF: Bad file descriptor ./lib/sequence/io.rb:29:in fcntl' ./lib/sequence/io.rb:29:ininitialize' ./lib/sequence.rb:61:in new' ./lib/sequence.rb:61:in[]' ./test/test_rexscan.rb:244:in a_seq' ./test/test_rexscan.rb:277:ina_seq' ./test/test_rexscan.rb:416:in `test_size'

3) Failure: test_optional_capture(SequenceTests::ListWrapped::Tempfile) [./test/test_rexscan.rb:353]: <"that tough"> expected but was

. 4) Failure: test_pos=(SequenceTests::ListWrapped::Tempfile) [./test/test_rexscan.rb:441]: <"y talk"> expected but was <"uy tal">. 5) Failure: test_read(SequenceTests::ListWrapped::Tempfile) [./test/test_rexscan.rb:421]: <"that t"> expected but was <" that ">. 6) Failure: test_readahead(SequenceTests::ListWrapped::Tempfile) [./test/test_rexscan.rb:427]: <"that t"> expected but was <" that ">. 7) Failure: test_scanning(SequenceTests::ListWrapped::Tempfile) [./test/test_rexscan.rb:689]: <"that "> expected but was <" that">. 8) Failure: test_size(SequenceTests::ListWrapped::Tempfile) [./test/test_rexscan.rb:416]: <52> expected but was <54>. 9) Failure: test_slice(SequenceTests::ListWrapped::Tempfile) [./test/test_rexscan.rb:399]: <"ar b"> expected but was <"bar ">. 10) Failure: test_optional_capture(SequenceTests::ListWrappedAndChunkReified::Tempfile) [./test/test_rexscan.rb:353]: <"that tough"> expected but was . 11) Failure: test_pos=(SequenceTests::ListWrappedAndChunkReified::Tempfile) [./test/test_rexscan.rb:441]: <"y talk"> expected but was <"uy tal">. 12) Failure: test_read(SequenceTests::ListWrappedAndChunkReified::Tempfile) [./test/test_rexscan.rb:421]: <"that t"> expected but was <" that ">. 13) Failure: test_readahead(SequenceTests::ListWrappedAndChunkReified::Tempfile) [./test/test_rexscan.rb:427]: <"that t"> expected but was <" that ">. 14) Failure: test_scanning(SequenceTests::ListWrappedAndChunkReified::Tempfile) [./test/test_rexscan.rb:689]: <"that "> expected but was <" that">. 15) Failure: test_size(SequenceTests::ListWrappedAndChunkReified::Tempfile) [./test/test_rexscan.rb:416]: <52> expected but was <54>. 16) Failure: test_slice(SequenceTests::ListWrappedAndChunkReified::Tempfile) [./test/test_rexscan.rb:399]: <" talk\ndon't make"> expected but was <"y talk\ndoon't ma">. 17) Error: test_size(SequenceTests::SmallScanBuffered::IO): Errno::EBADF: Bad file descriptor ./lib/sequence/io.rb:29:in `fcntl' ./lib/sequence/io.rb:29:in`initialize' ./lib/sequence.rb:61:in `new' ./lib/sequence.rb:61:in`[]' ./test/test_rexscan.rb:244:in `a_seq' ./test/test_rexscan.rb:261:in`a_seq' ./test/test_rexscan.rb:416:in `test_size' 18) Failure: test_optional_capture(SequenceTests::SmallScanBuffered::Tempfile) [./test/test_rexscan.rb:353]: <"that tough"> expected but was . 19) Failure: test_pos=(SequenceTests::SmallScanBuffered::Tempfile) [./test/test_rexscan.rb:441]: <"y talk"> expected but was <"uy tal">. 20) Failure: test_read(SequenceTests::SmallScanBuffered::Tempfile) [./test/test_rexscan.rb:421]: <"that t"> expected but was <" that ">. 21) Failure: test_readahead(SequenceTests::SmallScanBuffered::Tempfile) [./test/test_rexscan.rb:427]: <"that t"> expected but was <" that ">. 22) Failure: test_scanning(SequenceTests::SmallScanBuffered::Tempfile) [./test/test_rexscan.rb:689]: <"that "> expected but was <" that">. 23) Failure: test_size(SequenceTests::SmallScanBuffered::Tempfile) [./test/test_rexscan.rb:416]: <52> expected but was <54>. 24) Failure: test_slice(SequenceTests::SmallScanBuffered::Tempfile) [./test/test_rexscan.rb:399]: <"ar baz that t"> expected but was <"bar baz that ">. 25) Failure: test_optional_capture(SequenceTests::Tempfile) [./test/test_rexscan.rb:353]: <"that tough"> expected but was . 26) Failure: test_pos=(SequenceTests::Tempfile) [./test/test_rexscan.rb:441]: <"y talk"> expected but was <"uy tal">. 27) Failure: test_read(SequenceTests::Tempfile) [./test/test_rexscan.rb:421]: <"that t"> expected but was <" that ">. 28) Failure: test_readahead(SequenceTests::Tempfile) [./test/test_rexscan.rb:427]: <"that t"> expected but was <" that ">. 29) Failure: test_scanning(SequenceTests::Tempfile) [./test/test_rexscan.rb:689]: <"that "> expected but was <" that">. 30) Failure: test_size(SequenceTests::Tempfile) [./test/test_rexscan.rb:416]: <52> expected but was <54>. 31) Failure: test_slice(SequenceTests::Tempfile) [./test/test_rexscan.rb:399]: <"gh g"> expected but was <"ugh ">. 1350 tests, 169698 assertions, 28 failures, 3 errors
coatl commented 15 years ago

These 2 errors should be fixed now; can you test again?

rdp commented 14 years ago

here's the latest:


  1) Error:
test_size(SequenceTests::IO):
RuntimeError: predata mismatch inside pipe
    ./test/test_rexscan.rb:260:in `a_seq'
    ./test/test_rexscan.rb:430:in `test_size'

1350 tests, 176728 assertions, 0 failures, 1 errors
rdp commented 14 years ago

guess we can close this

coatl commented 14 years ago

wait, did you get an error in test_size or not? if you did, can you please file it as a new bug; the stacktrace looks different from either of the previous errors in this issue.

I am closing this since you don't seem to be having either original problem anymore.