test_backend: 1.9 compatibility fixes
commitffc4ec4baaae5020c98dc545c6c6ade0336a3311
authorEric Wong <normalperson@yhbt.net>
Sun, 8 Feb 2009 00:38:41 +0000 (7 16:38 -0800)
committerEric Wong <normalperson@yhbt.net>
Sun, 8 Feb 2009 00:38:41 +0000 (7 16:38 -0800)
tree405052968f91538a0588a8bc69898cb876c2161c
parentfb8874fbf719264064bf9761476de4c16d7f8c89
test_backend: 1.9 compatibility fixes

Not sure how hosts was ever allowed to be a String, but sort_by
does not work on Strings in 1.9 so this was a bug before, too.
Also I'm not sure how the accept_nr variable gets shared between
threads; better just to use sockets for here...
test/test_backend.rb