Skip to content

Instantly share code, notes, and snippets.

@halorgium
Created February 7, 2010 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halorgium/50dc8a67763d979fbc83 to your computer and use it in GitHub Desktop.
Save halorgium/50dc8a67763d979fbc83 to your computer and use it in GitHub Desktop.
test@domU-12-31-38-04-C1-16 ~/rubygems $ cat output
(in /home/test/rubygems)
WARNING: HOE DEPRECATION: Add '>= 0' to the 'builder' dependency.
WARNING: HOE DEPRECATION: Add '>= 0' to the 'session' dependency.
WARNING: HOE DEPRECATION: Add '>= 0' to the 'hoe-seattlerb' dependency.
which: no dot in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/lib/subversion/bin)
warning: couldn't activate the minitest plugin, skipping
/usr/bin/ruby18 -w -Ilib:ext:bin:test -e 'require "rubygems"; require "test/unit"; require "test/test_gem_local_remote_options.rb"; require "test/test_gem_commands_generate_index_command.rb"; require "test/test_gem_commands_sources_command.rb"; require "test/test_gem_ext_ext_conf_builder.rb"; require "test/test_gem_commands_environment_command.rb"; require "test/test_gem_package_tar_input.rb"; require "test/test_gem_ext_rake_builder.rb"; require "test/test_gem_version_option.rb"; require "test/test_gem_source_info_cache_entry.rb"; require "test/test_gem_package_tar_reader_entry.rb"; require "test/test_gem_uninstaller.rb"; require "test/test_gem_specification.rb"; require "test/test_config.rb"; require "test/test_gem_commands_build_command.rb"; require "test/test_gem_package_tar_output.rb"; require "test/test_gem_commands_query_command.rb"; require "test/test_gem_dependency_installer.rb"; require "test/test_gem_commands_unpack_command.rb"; require "test/test_gem_source_info_cache.rb"; require "test/test_gem_commands_list_command.rb"; require "test/test_gem_command_manager.rb"; require "test/test_gem_digest.rb"; require "test/test_gem_commands_cert_command.rb"; require "test/test_gem_commands_dependency_command.rb"; require "test/test_gem_requirement.rb"; require "test/test_gem_validator.rb"; require "test/test_gem_commands_server_command.rb"; require "test/test_gem_platform.rb"; require "test/test_gem_gem_path_searcher.rb"; require "test/test_gem_spec_fetcher.rb"; require "test/test_gem_commands_specification_command.rb"; require "test/test_gem_package_tar_writer.rb"; require "test/test_gem_commands_update_command.rb"; require "test/test_gem_builder.rb"; require "test/test_kernel.rb"; require "test/test_gem_commands_contents_command.rb"; require "test/test_gem_indexer.rb"; require "test/test_gem_dependency_list.rb"; require "test/test_gem_commands_check_command.rb"; require "test/test_gem_commands_stale_command.rb"; require "test/test_gem_commands_install_command.rb"; require "test/test_gem_server.rb"; require "test/test_gem_format.rb"; require "test/test_gem_remote_fetcher.rb"; require "test/test_gem_source_index.rb"; require "test/test_gem_commands_lock_command.rb"; require "test/test_gem_install_update_options.rb"; require "test/test_gem_config_file.rb"; require "test/test_gem_gem_runner.rb"; require "test/test_gem_commands_fetch_command.rb"; require "test/test_gem_package_tar_header.rb"; require "test/test_gem_ext_configure_builder.rb"; require "test/test_gem_version.rb"; require "test/test_gem_package_tar_reader.rb"; require "test/test_gem_installer.rb"; require "test/test_gem_commands_outdated_command.rb"; require "test/test_gem_doc_manager.rb"; require "test/test_gem.rb"; require "test/test_gem_dependency.rb"; require "test/test_gem_commands_pristine_command.rb"; require "test/test_gem_package_task.rb"; require "test/test_gem_command.rb"; require "test/test_gem_commands_uninstall_command.rb"; require "test/test_gem_commands_mirror_command.rb"; require "test/test_gem_stream_ui.rb"'
/usr/lib/ruby/1.8/rdoc/parsers/parse_c.rb:204: warning: method redefined; discarding old progress
Loaded suite -e
Started
...................................................................................../usr/lib/ruby/1.8/openssl/x509.rb:24: warning: instance variable @config not initialized
/usr/lib/ruby/1.8/openssl/x509.rb:24: warning: instance variable @config not initialized
/usr/lib/ruby/1.8/openssl/x509.rb:24: warning: instance variable @config not initialized
..........................................................................................................................................................................................................................................F..............................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 66.835328 seconds.
1) Failure:
test_generate_index(TestGemIndexer) [./test/test_gem_indexer.rb:300]:
Expected "<?xml version=\"1.0\"?>\n<rss version=\"2.0\">\n <channel>\n <title>ExampleForge gems</title>\n <link>http://example.com</link>\n <description>Recently released gems from http://example.com</description>\n <generator>RubyGems v1.3.4</generator>\n <docs>http://cyber.law.harvard.edu/rss/rss.html</docs>\n <item>\n <title>a-2</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>a-2</guid>\n <enclosure url=\"http://gems.example.com/gems/a-2.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>a-3.a</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>a-3.a</guid>\n <enclosure url=\"http://gems.example.com/gems/a-3.a.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>a_evil-9</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>a_evil-9</guid>\n <enclosure url=\"http://gems.example.com/gems/a_evil-9.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>b-2</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>b-2</guid>\n <enclosure url=\"http://gems.example.com/gems/b-2.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>c-1.2</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>c-1.2</guid>\n <enclosure url=\"http://gems.example.com/gems/c-1.2.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>d-2.0.a</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>d-2.0.a</guid>\n <enclosure url=\"http://gems.example.com/gems/d-2.0.a.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>d-2.0.b</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>d-2.0.b</guid>\n <enclosure url=\"http://gems.example.com/gems/d-2.0.b.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>pl-1-x86-linux</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>pl-1-x86-linux</guid>\n <enclosure url=\"http://gems.example.com/gems/pl-1-x86-linux.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>a-1</title>\n <description>\n&lt;pre&gt;This line is really, really long. So long, in fact, that it is more than\neighty characters long! The purpose of this line is for testing wrapping\nbehavior because sometimes people don't wrap their text to eighty characters. \nWithout the wrapping, the text might not look good in the RSS feed.\n\nAlso, a list:\n * An entry that's actually kind of sort\n * an entry that's really long, which will probably get wrapped funny. \nThat's ok, somebody wasn't thinking straight when they made it more than\neighty characters.&lt;/pre&gt;\n </description>\n <author>example@example.com (Example), example2@example.com (Example2)</author>\n <guid>a-1</guid>\n <enclosure url=\"http://gems.example.com/gems/a-1.gem\"\n length=\"3584\" type=\"application/octet-stream\" />\n <pubDate>Fri, 05 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://a.example.com</link>\n </item>\n </channel>\n</rss>\n", not "<?xml version=\"1.0\"?>\n<rss version=\"2.0\">\n <channel>\n <title>ExampleForge gems</title>\n <link>http://example.com</link>\n <description>Recently released gems from http://example.com</description>\n <generator>RubyGems v1.3.5</generator>\n <docs>http://cyber.law.harvard.edu/rss/rss.html</docs>\n <item>\n <title>a-2</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>a-2</guid>\n <enclosure url=\"http://gems.example.com/gems/a-2.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>a-3.a</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>a-3.a</guid>\n <enclosure url=\"http://gems.example.com/gems/a-3.a.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>a_evil-9</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>a_evil-9</guid>\n <enclosure url=\"http://gems.example.com/gems/a_evil-9.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>b-2</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>b-2</guid>\n <enclosure url=\"http://gems.example.com/gems/b-2.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>c-1.2</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>c-1.2</guid>\n <enclosure url=\"http://gems.example.com/gems/c-1.2.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>d-2.0.a</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>d-2.0.a</guid>\n <enclosure url=\"http://gems.example.com/gems/d-2.0.a.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>d-2.0.b</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>d-2.0.b</guid>\n <enclosure url=\"http://gems.example.com/gems/d-2.0.b.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>pl-1-x86-linux</title>\n <description>\n&lt;pre&gt;This is a test description&lt;/pre&gt;\n </description>\n <author>example@example.com (A User)</author>\n <guid>pl-1-x86-linux</guid>\n <enclosure url=\"http://gems.example.com/gems/pl-1-x86-linux.gem\"\n length=\"3072\" type=\"application/octet-stream\" />\n <pubDate>Sat, 06 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://example.com</link>\n </item>\n <item>\n <title>a-1</title>\n <description>\n&lt;pre&gt;This line is really, really long. So long, in fact, that it is more than\neighty characters long! The purpose of this line is for testing wrapping\nbehavior because sometimes people don't wrap their text to eighty characters. \nWithout the wrapping, the text might not look good in the RSS feed.\n\nAlso, a list:\n * An entry that's actually kind of sort\n * an entry that's really long, which will probably get wrapped funny. \nThat's ok, somebody wasn't thinking straight when they made it more than\neighty characters.&lt;/pre&gt;\n </description>\n <author>example@example.com (Example), example2@example.com (Example2)</author>\n <guid>a-1</guid>\n <enclosure url=\"http://gems.example.com/gems/a-1.gem\"\n length=\"3584\" type=\"application/octet-stream\" />\n <pubDate>Fri, 05 Feb 2010 00:00:00 -0800</pubDate>\n <link>http://a.example.com</link>\n </item>\n </channel>\n</rss>\n".
766 tests, 2554 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [/usr/bin/ruby18 -w -Ilib:ext:bin:test -e '...]
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment