COMMIT Refactor Brice Figureau's patch. http://github.com/rubyspec/rubyspec/commit/1aa0976ff549ce7aba47a53ce596fc1bfe181bd8 COMMIT Use a valid name in Socket#getnameinfo for faster lookup. http://github.com/rubyspec/rubyspec/commit/fc480440e26e1d1b154a06d2451fd4374b0c5a21 COMMIT Implements Socket#getnameinfo specs http://github.com/rubyspec/rubyspec/commit/ca3baaaade2ac6d71b443b42bd818878ea46d819 COMMIT fix file mtime locked file http://github.com/rubyspec/rubyspec/commit/625a66ace12409f8824609027307a3c9fdfac95c COMMIT enabled file rename tests on windows http://github.com/rubyspec/rubyspec/commit/7fd93d1952fc57dd19e94e255a179ac278c55ff5 COMMIT Permissions are ignored on Windows. Ignore the spec for them. http://github.com/rubyspec/rubyspec/commit/4aaa4ee6bc5840b4f5e320f8a23ed5f639523c9b --- 20090908T082154 +++ 20090909T082210 @@ -1,26011 +1,26016 @@ - returns the host name /home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/socket/socket/getnameinfo_spec.rb +Socket#getnameinfo +- gets the name information and don't resolve it +- gets the name information and resolve the host +- gets the name information and resolves the service (FAILED - ) + /home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/socket/socket/getservbyname_spec.rb Socket#getservbyname - identifies service ports @@ -31412,6 +31417,39 @@ /home/chkbuild/tmp/build/ruby-1.8//mspec/bin/mspec-run:8 ) +Socket#getnameinfo gets the name information and resolves the service FAILED +Expected ["localhost", "www"] + to equal ["localhost", "http"] + +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/matchers/base.rb:8:in `==' +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/socket/socket/getnameinfo_spec.rb:31 +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `protect' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:135:in `protect' +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/socket/socket/getnameinfo_spec.rb:4:in `all?' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:135:in `each' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:135:in `all?' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:135:in `protect' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:163:in `process' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:155:in `each' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:155:in `process' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:36:in `describe' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/object.rb:11:in `describe' +/home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/socket/socket/getnameinfo_spec.rb:6 +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:55:in `load' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:55:in `files' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `protect' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:55:in `files' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:49:in `each' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:49:in `files' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:41:in `process' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/commands/mspec-run.rb:87:in `run' +/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/utils/script.rb:217:in `main' +/home/chkbuild/tmp/build/ruby-1.8//mspec/bin/mspec-run:8 + + ) An exception occurred during: loading /home/chkbuild/tmp/build/ruby-1.8//rubyspec/optional/ffi/buffer_spec.rb ERROR LoadError: no such file to load -- rubygems /home/chkbuild/tmp/build/ruby-1.8//rubyspec/optional/ffi/spec_helper.rb:5:in `require' @@ -31755,7 +31793,7 @@ Finished in seconds -2887 files, 11390 examples, 36264 expectations, 70 failures, 65 errors +2887 files, 11393 examples, 36267 expectations, 71 failures, 65 errors exit 1 failed(rubyspec) == end #