From: Jamis Buck Date: 2004-06-14T21:31:44+09:00 Subject: Re: OpenSSL: patch gabriele renzi wrote: > il Mon, 14 Jun 2004 12:37:43 +0900, Jamis Buck ha > scritto:: > > >>Also, I'm kind of lost as to how to write test cases for something like >>this. It's hard to (for instance) force the server to send something >>unexpected without writing your own server... :( Any tips? > > > weite your own server too? :)) Ha ha. :) Yah, just let me whip out an SSH server while I'm at it. ;) Although, I have been tinkering with that idea. You could probably do some fun stuff if you had a Net::SSH::Server module for Ruby, to go with the Net::SSH client. I think, for now, that I'll work on solidifying the client, though. -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis ruby -h | ruby -e 'a=[];readlines.join.scan(/-(.)\[e|Kk(\S*)|le.l(..)e|#!(\S*)/) {|r| a << r.compact.first };puts "\n>#{a.join(%q/ /)}<\n\n"'