tests: do not trust (our correct use of) 1.9 encodings
commit2373b663049df69a168f1e876e817a49d8ed8a7b
authorEric Wong <normalperson@yhbt.net>
Wed, 18 Mar 2009 08:01:25 +0000 (18 01:01 -0700)
committerEric Wong <normalperson@yhbt.net>
Wed, 18 Mar 2009 08:10:11 +0000 (18 01:10 -0700)
tree22bf1ca52b3e8d85ffb442f218d461508fc4c71b
parentec8972dbe267dc0d21cd780c41f362a6580a4a89
tests: do not trust (our correct use of) 1.9 encodings

Despite reading numerous articles and inspecting the 1.9.1-p0 C
source, I will never trust that we're always handling
encoding-aware IO objects correctly.  Thus this new test uses
UNIX shell utilities that should always operate on files/sockets
on a byte-level.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
test/test_helper.rb
test/unit/test_upload.rb