javanthropus/archive-zip — Issue #6: Failing tests on Macbook Pro
Author: edjames
Created: 2011-11-29 11:11:38+00:00
State: open

Hi, I've just forked this gem and when running the tests I get 5 failures (dump below).
I'm running the tests on Ruby 1.9.2-p290, using the following gems:

rake 0.9.2.2
mspec 1.5.17
io-like 0.3.0

Before I start modifying the code I wanted to make sure that the tests run successfully in your own environment, and whether there is something I'm missing to get them running in my own environment.

Thanks mate.

=== test trace ====

ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0]
.....................................................F..F.......................

1)
Archive::Zip::Codec::TraditionalEncryption::Encrypt#rewind can rewind the stream when the delegate responds to rewind FAILED
Expected "k\x95\xDB\xC9Z\xF29\xDC\xB4^?\x9F\xC9\x96\xB3!KB\xBE.\xEF\xBA\xE9\xCC/=vc\x83>I\xB2\x8Etq\xF7\x18\\\xA0E.\xCE{=\xE3?B\x19\rDK\vy_\xF9\xD3\xA6E\xDC`k\xDD#+.)\x80f%\x8E\x8F\x1D\xD0F\x9A\xC76\xFC)O\xDB\x15\a\xEEy\x88y\xC6\xAD\x99+\xB5)\xE4\xC8\xC7\xA8oy\x02\x99H\xF8\xAC|\xB6\xA4\xAF\xB5\r\x99\xF2\xDA`!\xB2\xE1\xF0\x1D\xD7L:\xF1\xF3\xB2\xC8\xB3E\xCF\xF99\xE3\x84A\x88j\x1E\n\xEB\xB9\x01V%\xDB_\x8F\xFF\x0E\x0Fm\xE9\xB5\xF3o\x14I\x96S\xE2[Q+\xC00\xA4\xF6\xC7\x16pW;M\x90\xF0\x845\xF6\x02\x80\x98>\x18\n%\xD2]\x9Fy~9H\xE3\xED\x91.[@y\x1F\x9F j\x9FH\xB4Jd\xB9\x1A\xF7\xA8\x1E6\x83j\xD3\x9A4\xFB\nT\"\t\xD83(\x89\x04\xDA\xA9N\xC1\xCD\x9E\xE1JF'\x83\x0E7\xB6\xDD\xEE_\xD1K"
to equal "k\x95\xDB\xC9Z\xF29\xDC\xB4^?\a\xE7\xB9\x87\x94\xC3\xB9\xC9W\xA1-4e\xA2U\xCB\xDF\x97]t\x8AV\xE6G\x9A\xDA\xF9\xA9\x00T[\x97\v\xD7\x96\x81\xBB\x7F\x1Ds\x93zt\xC7\xC06&\x17V\xE5\xDDDj\x19)v\xA0a\xBBa\xF8\xC9\xD9\xA0\x8A\xD9\xE6\r&\x93+(\x8E\xD8\x87\x85\x0F\xE7\xF4;\xCEliz\xBC\"\x04\x8D\xC4\x06\xB6i\xE8Ny\xAFI<\xBC\xB6\xA5\ti@\x9B\xF4\xEF:'\\y\xBD\xBA\xF5\xB3\x82Z\x10\f\a\xA5>\xA9\xFEq\x06\xA6\x91\xF3pl\xFC\"\x92\xF92\xDA\xAE\b\xE65\vWl\xA13\e\xA319\x93/\x9D\xE9\xFD\xB5\xE8\xDA,\x8C\xD1"

/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/expectations/expectations.rb:15:in `fail_with'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/matchers/base.rb:8:in `=='
/Users/ejames/Development/archive-zip/spec/archive/zip/codec/traditional_encryption/encrypt/rewind_spec.rb:22:in `block (2 levels) in '
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `instance_eval'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `block in protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `all?'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:207:in `block in process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:199:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:199:in `process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:37:in `describe'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/object.rb:11:in `describe'
/Users/ejames/Development/archive-zip/spec/archive/zip/codec/traditional_encryption/encrypt/rewind_spec.rb:8:in `'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `load'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `block (2 levels) in files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `instance_eval'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `block in files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:50:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:50:in `files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:42:in `process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/commands/mspec-run.rb:87:in `run'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/utils/script.rb:217:in `main'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/bin/mspec-run:8:in `

'

2)
Archive::Zip::Codec::TraditionalEncryption::Encrypt#write writes encrypted data to the delegate FAILED
Expected "k\x95\xDB\xC9Z\xF29\xDC\xB4^?\x9F\xC9\x96\xB3!KB\xBE.\xEF\xBA\xE9\xCC/=vc\x83>I\xB2\x8Etq\xF7\x18\\\xA0E.\xCE{=\xE3?B\x19\rDK\vy_\xF9\xD3\xA6E\xDC`k\xDD#+.)\x80f%\x8E\x8F\x1D\xD0F\x9A\xC76\xFC)O\xDB\x15\a\xEEy\x88y\xC6\xAD\x99+\xB5)\xE4\xC8\xC7\xA8oy\x02\x99H\xF8\xAC|\xB6\xA4\xAF\xB5\r\x99\xF2\xDA`!\xB2\xE1\xF0\x1D\xD7L:\xF1\xF3\xB2\xC8\xB3E\xCF\xF99\xE3\x84A\x88j\x1E\n\xEB\xB9\x01V%\xDB_\x8F\xFF\x0E\x0Fm\xE9\xB5\xF3o\x14I\x96S\xE2[Q+\xC00\xA4\xF6\xC7\x16pW;M\x90\xF0\x845\xF6\x02\x80\x98>\x18\n%\xD2]\x9Fy~9H\xE3\xED\x91.[@y\x1F\x9F j\x9FH\xB4Jd\xB9\x1A\xF7\xA8\x1E6\x83j\xD3\x9A4\xFB\nT\"\t\xD83(\x89\x04\xDA\xA9N\xC1\xCD\x9E\xE1JF'\x83\x0E7\xB6\xDD\xEE_\xD1K"
to equal "k\x95\xDB\xC9Z\xF29\xDC\xB4^?\a\xE7\xB9\x87\x94\xC3\xB9\xC9W\xA1-4e\xA2U\xCB\xDF\x97]t\x8AV\xE6G\x9A\xDA\xF9\xA9\x00T[\x97\v\xD7\x96\x81\xBB\x7F\x1Ds\x93zt\xC7\xC06&\x17V\xE5\xDDDj\x19)v\xA0a\xBBa\xF8\xC9\xD9\xA0\x8A\xD9\xE6\r&\x93+(\x8E\xD8\x87\x85\x0F\xE7\xF4;\xCEliz\xBC\"\x04\x8D\xC4\x06\xB6i\xE8Ny\xAFI<\xBC\xB6\xA5\ti@\x9B\xF4\xEF:'\\y\xBD\xBA\xF5\xB3\x82Z\x10\f\a\xA5>\xA9\xFEq\x06\xA6\x91\xF3pl\xFC\"\x92\xF92\xDA\xAE\b\xE65\vWl\xA13\e\xA319\x93/\x9D\xE9\xFD\xB5\xE8\xDA,\x8C\xD1"

/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/expectations/expectations.rb:15:in `fail_with'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/matchers/base.rb:8:in `=='
/Users/ejames/Development/archive-zip/spec/archive/zip/codec/traditional_encryption/encrypt/write_spec.rb:37:in `block (2 levels) in '
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `instance_eval'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `block in protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `all?'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:207:in `block in process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:199:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:199:in `process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:37:in `describe'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/object.rb:11:in `describe'
/Users/ejames/Development/archive-zip/spec/archive/zip/codec/traditional_encryption/encrypt/write_spec.rb:8:in `'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `load'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `block (2 levels) in files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `instance_eval'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `block in files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:50:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:50:in `files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:42:in `process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/commands/mspec-run.rb:87:in `run'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/utils/script.rb:217:in `main'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/bin/mspec-run:8:in `

'

3)
Archive::Zip::Codec::TraditionalEncryption::Encrypt#write writes encrypted data to a delegate that only performs partial writes FAILED
Expected "k\x95\xDB\xC9Z\xF29\xDC\xB4^?\x9F\xC9\x96\xB3!KB\xBE.\xEF\xBA\xE9\xCC/=vc\x83>I\xB2\x8Etq\xF7\x18\\\xA0E.\xCE{=\xE3?B\x19\rDK\vy_\xF9\xD3\xA6E\xDC`k\xDD#+.)\x80f%\x8E\x8F\x1D\xD0F\x9A\xC76\xFC)O\xDB\x15\a\xEEy\x88y\xC6\xAD\x99+\xB5)\xE4\xC8\xC7\xA8oy\x02\x99H\xF8\xAC|\xB6\xA4\xAF\xB5\r\x99\xF2\xDA`!\xB2\xE1\xF0\x1D\xD7L:\xF1\xF3\xB2\xC8\xB3E\xCF\xF99\xE3\x84A\x88j\x1E\n\xEB\xB9\x01V%\xDB_\x8F\xFF\x0E\x0Fm\xE9\xB5\xF3o\x14I\x96S\xE2[Q+\xC00\xA4\xF6\xC7\x16pW;M\x90\xF0\x845\xF6\x02\x80\x98>\x18\n%\xD2]\x9Fy~9H\xE3\xED\x91.[@y\x1F\x9F j\x9FH\xB4Jd\xB9\x1A\xF7\xA8\x1E6\x83j\xD3\x9A4\xFB\nT\"\t\xD83(\x89\x04\xDA\xA9N\xC1\xCD\x9E\xE1JF'\x83\x0E7\xB6\xDD\xEE_\xD1K"
to equal "k\x95\xDB\xC9Z\xF29\xDC\xB4^?\a\xE7\xB9\x87\x94\xC3\xB9\xC9W\xA1-4e\xA2U\xCB\xDF\x97]t\x8AV\xE6G\x9A\xDA\xF9\xA9\x00T[\x97\v\xD7\x96\x81\xBB\x7F\x1Ds\x93zt\xC7\xC06&\x17V\xE5\xDDDj\x19)v\xA0a\xBBa\xF8\xC9\xD9\xA0\x8A\xD9\xE6\r&\x93+(\x8E\xD8\x87\x85\x0F\xE7\xF4;\xCEliz\xBC\"\x04\x8D\xC4\x06\xB6i\xE8Ny\xAFI<\xBC\xB6\xA5\ti@\x9B\xF4\xEF:'\\y\xBD\xBA\xF5\xB3\x82Z\x10\f\a\xA5>\xA9\xFEq\x06\xA6\x91\xF3pl\xFC\"\x92\xF92\xDA\xAE\b\xE65\vWl\xA13\e\xA319\x93/\x9D\xE9\xFD\xB5\xE8\xDA,\x8C\xD1"

/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/expectations/expectations.rb:15:in `fail_with'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/matchers/base.rb:8:in `=='
/Users/ejames/Development/archive-zip/spec/archive/zip/codec/traditional_encryption/encrypt/write_spec.rb:59:in `block (2 levels) in '
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `instance_eval'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `block in protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `all?'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:207:in `block in process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:199:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:199:in `process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:37:in `describe'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/object.rb:11:in `describe'
/Users/ejames/Development/archive-zip/spec/archive/zip/codec/traditional_encryption/encrypt/write_spec.rb:8:in `'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `load'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `block (2 levels) in files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `instance_eval'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `block in files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:50:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:50:in `files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:42:in `process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/commands/mspec-run.rb:87:in `run'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/utils/script.rb:217:in `main'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/bin/mspec-run:8:in `

'

4)
Archive::Zip::Codec::TraditionalEncryption::Encrypt#write writes encrypted data to a delegate that raises Errno::EAGAIN FAILED
Expected "k\x95\xDB\xC9Z\xF29\xDC\xB4^?\x9F\xC9\x96\xB3!KB\xBE.\xEF\xBA\xE9\xCC/=vc\x83>I\xB2\x8Etq\xF7\x18\\\xA0E.\xCE{=\xE3?B\x19\rDK\vy_\xF9\xD3\xA6E\xDC`k\xDD#+.)\x80f%\x8E\x8F\x1D\xD0F\x9A\xC76\xFC)O\xDB\x15\a\xEEy\x88y\xC6\xAD\x99+\xB5)\xE4\xC8\xC7\xA8oy\x02\x99H\xF8\xAC|\xB6\xA4\xAF\xB5\r\x99\xF2\xDA`!\xB2\xE1\xF0\x1D\xD7L:\xF1\xF3\xB2\xC8\xB3E\xCF\xF99\xE3\x84A\x88j\x1E\n\xEB\xB9\x01V%\xDB_\x8F\xFF\x0E\x0Fm\xE9\xB5\xF3o\x14I\x96S\xE2[Q+\xC00\xA4\xF6\xC7\x16pW;M\x90\xF0\x845\xF6\x02\x80\x98>\x18\n%\xD2]\x9Fy~9H\xE3\xED\x91.[@y\x1F\x9F j\x9FH\xB4Jd\xB9\x1A\xF7\xA8\x1E6\x83j\xD3\x9A4\xFB\nT\"\t\xD83(\x89\x04\xDA\xA9N\xC1\xCD\x9E\xE1JF'\x83\x0E7\xB6\xDD\xEE_\xD1K"
to equal "k\x95\xDB\xC9Z\xF29\xDC\xB4^?\a\xE7\xB9\x87\x94\xC3\xB9\xC9W\xA1-4e\xA2U\xCB\xDF\x97]t\x8AV\xE6G\x9A\xDA\xF9\xA9\x00T[\x97\v\xD7\x96\x81\xBB\x7F\x1Ds\x93zt\xC7\xC06&\x17V\xE5\xDDDj\x19)v\xA0a\xBBa\xF8\xC9\xD9\xA0\x8A\xD9\xE6\r&\x93+(\x8E\xD8\x87\x85\x0F\xE7\xF4;\xCEliz\xBC\"\x04\x8D\xC4\x06\xB6i\xE8Ny\xAFI<\xBC\xB6\xA5\ti@\x9B\xF4\xEF:'\\y\xBD\xBA\xF5\xB3\x82Z\x10\f\a\xA5>\xA9\xFEq\x06\xA6\x91\xF3pl\xFC\"\x92\xF92\xDA\xAE\b\xE65\vWl\xA13\e\xA319\x93/\x9D\xE9\xFD\xB5\xE8\xDA,\x8C\xD1"

/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/expectations/expectations.rb:15:in `fail_with'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/matchers/base.rb:8:in `=='
/Users/ejames/Development/archive-zip/spec/archive/zip/codec/traditional_encryption/encrypt/write_spec.rb:92:in `block (2 levels) in '
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `instance_eval'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `block in protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `all?'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:207:in `block in process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:199:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:199:in `process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:37:in `describe'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/object.rb:11:in `describe'
/Users/ejames/Development/archive-zip/spec/archive/zip/codec/traditional_encryption/encrypt/write_spec.rb:8:in `'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `load'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `block (2 levels) in files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `instance_eval'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `block in files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:50:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:50:in `files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:42:in `process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/commands/mspec-run.rb:87:in `run'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/utils/script.rb:217:in `main'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/bin/mspec-run:8:in `

'

5)
Archive::Zip::Codec::TraditionalEncryption::Encrypt#write writes encrypted data to a delegate that raises Errno::EINTR FAILED
Expected "k\x95\xDB\xC9Z\xF29\xDC\xB4^?\x9F\xC9\x96\xB3!KB\xBE.\xEF\xBA\xE9\xCC/=vc\x83>I\xB2\x8Etq\xF7\x18\\\xA0E.\xCE{=\xE3?B\x19\rDK\vy_\xF9\xD3\xA6E\xDC`k\xDD#+.)\x80f%\x8E\x8F\x1D\xD0F\x9A\xC76\xFC)O\xDB\x15\a\xEEy\x88y\xC6\xAD\x99+\xB5)\xE4\xC8\xC7\xA8oy\x02\x99H\xF8\xAC|\xB6\xA4\xAF\xB5\r\x99\xF2\xDA`!\xB2\xE1\xF0\x1D\xD7L:\xF1\xF3\xB2\xC8\xB3E\xCF\xF99\xE3\x84A\x88j\x1E\n\xEB\xB9\x01V%\xDB_\x8F\xFF\x0E\x0Fm\xE9\xB5\xF3o\x14I\x96S\xE2[Q+\xC00\xA4\xF6\xC7\x16pW;M\x90\xF0\x845\xF6\x02\x80\x98>\x18\n%\xD2]\x9Fy~9H\xE3\xED\x91.[@y\x1F\x9F j\x9FH\xB4Jd\xB9\x1A\xF7\xA8\x1E6\x83j\xD3\x9A4\xFB\nT\"\t\xD83(\x89\x04\xDA\xA9N\xC1\xCD\x9E\xE1JF'\x83\x0E7\xB6\xDD\xEE_\xD1K"
to equal "k\x95\xDB\xC9Z\xF29\xDC\xB4^?\a\xE7\xB9\x87\x94\xC3\xB9\xC9W\xA1-4e\xA2U\xCB\xDF\x97]t\x8AV\xE6G\x9A\xDA\xF9\xA9\x00T[\x97\v\xD7\x96\x81\xBB\x7F\x1Ds\x93zt\xC7\xC06&\x17V\xE5\xDDDj\x19)v\xA0a\xBBa\xF8\xC9\xD9\xA0\x8A\xD9\xE6\r&\x93+(\x8E\xD8\x87\x85\x0F\xE7\xF4;\xCEliz\xBC\"\x04\x8D\xC4\x06\xB6i\xE8Ny\xAFI<\xBC\xB6\xA5\ti@\x9B\xF4\xEF:'\\y\xBD\xBA\xF5\xB3\x82Z\x10\f\a\xA5>\xA9\xFEq\x06\xA6\x91\xF3pl\xFC\"\x92\xF92\xDA\xAE\b\xE65\vWl\xA13\e\xA319\x93/\x9D\xE9\xFD\xB5\xE8\xDA,\x8C\xD1"

/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/expectations/expectations.rb:15:in `fail_with'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/matchers/base.rb:8:in `=='
/Users/ejames/Development/archive-zip/spec/archive/zip/codec/traditional_encryption/encrypt/write_spec.rb:125:in `block (2 levels) in '
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `instance_eval'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `block in protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `all?'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:179:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:207:in `block in process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:199:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/context.rb:199:in `process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:37:in `describe'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/object.rb:11:in `describe'
/Users/ejames/Development/archive-zip/spec/archive/zip/codec/traditional_encryption/encrypt/write_spec.rb:8:in `'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `load'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `block (2 levels) in files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `instance_eval'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:68:in `protect'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:56:in `block in files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:50:in `each'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:50:in `files'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/runner/mspec.rb:42:in `process'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/commands/mspec-run.rb:87:in `run'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/lib/mspec/utils/script.rb:217:in `main'
/Users/ejames/.rvm/gems/ruby-1.9.2-p290/gems/mspec-1.5.17/bin/mspec-run:8:in `

'

Finished in 8.237996 seconds

80 files, 222 examples, 374 expectations, 5 failures, 0 errors