Has anyone had success getting either trunk or 0.12.0 to pass all tests? I''ve included the results of my test run for revision 533 of the trunk below. I''m not entirely sure about the routing errors and the authentication failure. The fourth error appears to be a simple typo that has persisted for 7 months and was included in the 0.12.0 release. A patch to fix the error can be viewed at http://pastie.caboo.se/124731 The warnings are also strange. The deprecation warnings are pretty clear, but I am very confused by the double loading of RedCloth and BlueCloth. Any ideas? Is there a known revision that passes tests? - Patrick Joyce /opt/local/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" "test/unit/chunks/category_test.rb" "test/unit/chunks/nowiki_test.rb" "test/unit/chunks/wiki_test.rb" "test/unit/diff_test.rb" "test/unit/page_renderer_test.rb" "test/unit/page_test.rb" "test/unit/redcloth_for_tex_test.rb" "test/unit/sanitize_test.rb" "test/unit/uri_test.rb" "test/unit/web_test.rb" "test/unit/wiki_file_test.rb" "test/unit/wiki_words_test.rb" (in /Users/patrick/projects/instiki-trunk) Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader Started ...................../Users/patrick/projects/instiki-trunk/lib/redcloth.rb:169: warning: already initialized constant VERSION /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:170: warning: already initialized constant DEFAULT_RULES /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:311: warning: already initialized constant TEXTILE_TAGS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:324: warning: already initialized constant A_HLGN /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:325: warning: already initialized constant A_VLGN /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:326: warning: already initialized constant C_CLAS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:327: warning: already initialized constant C_LNGE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:328: warning: already initialized constant C_STYL /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:329: warning: already initialized constant S_CSPN /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:330: warning: already initialized constant S_RSPN /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:331: warning: already initialized constant A /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:332: warning: already initialized constant S /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:333: warning: already initialized constant C /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:335: warning: already initialized constant PUNCT /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:336: warning: already initialized constant HYPERLINK /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:342: warning: already initialized constant SIMPLE_HTML_TAGS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:364: warning: already initialized constant GLYPHS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:371: warning: already initialized constant H_ALGN_VALS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:377: warning: already initialized constant V_ALGN_VALS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:390: warning: already initialized constant QTAGS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:475: warning: already initialized constant TABLE_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:513: warning: already initialized constant LISTS_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:514: warning: already initialized constant LISTS_CONTENT_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:565: warning: already initialized constant CODE_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:583: warning: already initialized constant BLOCKS_GROUP_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:655: warning: already initialized constant BLOCK_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:671: warning: already initialized constant SETEXT_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:686: warning: already initialized constant ATX_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:696: warning: already initialized constant MARKDOWN_BQ_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:709: warning: already initialized constant MARKDOWN_RULE_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:749: warning: already initialized constant LINK_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:781: warning: already initialized constant MARKDOWN_REFLINK_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:813: warning: already initialized constant MARKDOWN_LINK_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:827: warning: already initialized constant TEXTILE_REFS_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:828: warning: already initialized constant MARKDOWN_REFS_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:868: warning: already initialized constant IMAGE_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:961: warning: already initialized constant OFFTAGS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:962: warning: already initialized constant OFFTAG_MATCH /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:963: warning: already initialized constant OFFTAG_OPEN /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:964: warning: already initialized constant OFFTAG_CLOSE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:965: warning: already initialized constant HASTAG_MATCH /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:966: warning: already initialized constant ALLTAG_MATCH /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:1085: warning: already initialized constant BASIC_TAGS ...................../Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:85: warning: already initialized constant Version /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:88: warning: already initialized constant SvnRev /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:91: warning: already initialized constant SvnId /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:94: warning: already initialized constant SvnUrl /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:100: warning: redefining constant Struct::RenderState /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:100: warning: already initialized constant RenderState /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:103: warning: already initialized constant TabWidth /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:106: warning: already initialized constant EmptyElementSuffix /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:109: warning: already initialized constant EscapeTable /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:289: warning: already initialized constant StrictBlockRegex /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:300: warning: already initialized constant LooseBlockRegex /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:323: warning: already initialized constant HruleBlockRegex /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:372: warning: already initialized constant LinkRegex /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:457: warning: already initialized constant ListRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:498: warning: already initialized constant ListItemRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:536: warning: already initialized constant CodeBlockRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:567: warning: already initialized constant BlockQuoteRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:584: warning: already initialized constant AutoAnchorURLRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:593: warning: already initialized constant AutoAnchorEmailRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:611: warning: already initialized constant Encoders /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:645: warning: already initialized constant SetextHeaderRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:655: warning: already initialized constant AtxHeaderRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:731: warning: already initialized constant RefLinkIdRegex /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:744: warning: already initialized constant InlineLinkRegex /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:848: warning: already initialized constant BoldRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:851: warning: already initialized constant ItalicRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:936: warning: already initialized constant InlineImageRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:947: warning: already initialized constant ReferenceImageRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:1005: warning: already initialized constant CodeEscapeRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:1032: warning: already initialized constant HTMLCommentRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:1033: warning: already initialized constant XMLProcInstRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:1034: warning: already initialized constant MetaTag /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:1036: warning: already initialized constant HTMLTagOpenRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:1037: warning: already initialized constant HTMLTagCloseRegexp /Users/patrick/projects/instiki-trunk/lib/bluecloth_tweaked.rb:1038: warning: already initialized constant HTMLTagPart ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ Finished in 2.548067 seconds. 902 tests, 1545 assertions, 0 failures, 0 errors /opt/local/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" "test/functional/admin_controller_test.rb" "test/functional/application_test.rb" "test/functional/file_controller_test.rb" "test/functional/routes_test.rb" "test/functional/wiki_controller_test.rb" Warning: tests involving pdflatex are very slow, therefore they are disabled by default. Set environment variable INSTIKI_TEST_PDFLATEX or global Ruby variable $INSTIKI_TEST_PDFLATEX to enable them. Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader Started ............../Users/patrick/projects/instiki-trunk/lib/redcloth.rb:169: warning: already initialized constant VERSION /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:170: warning: already initialized constant DEFAULT_RULES /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:311: warning: already initialized constant TEXTILE_TAGS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:324: warning: already initialized constant A_HLGN /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:325: warning: already initialized constant A_VLGN /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:326: warning: already initialized constant C_CLAS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:327: warning: already initialized constant C_LNGE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:328: warning: already initialized constant C_STYL /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:329: warning: already initialized constant S_CSPN /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:330: warning: already initialized constant S_RSPN /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:331: warning: already initialized constant A /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:332: warning: already initialized constant S /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:333: warning: already initialized constant C /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:335: warning: already initialized constant PUNCT /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:336: warning: already initialized constant HYPERLINK /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:342: warning: already initialized constant SIMPLE_HTML_TAGS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:364: warning: already initialized constant GLYPHS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:371: warning: already initialized constant H_ALGN_VALS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:377: warning: already initialized constant V_ALGN_VALS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:390: warning: already initialized constant QTAGS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:475: warning: already initialized constant TABLE_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:513: warning: already initialized constant LISTS_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:514: warning: already initialized constant LISTS_CONTENT_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:565: warning: already initialized constant CODE_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:583: warning: already initialized constant BLOCKS_GROUP_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:655: warning: already initialized constant BLOCK_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:671: warning: already initialized constant SETEXT_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:686: warning: already initialized constant ATX_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:696: warning: already initialized constant MARKDOWN_BQ_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:709: warning: already initialized constant MARKDOWN_RULE_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:749: warning: already initialized constant LINK_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:781: warning: already initialized constant MARKDOWN_REFLINK_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:813: warning: already initialized constant MARKDOWN_LINK_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:827: warning: already initialized constant TEXTILE_REFS_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:828: warning: already initialized constant MARKDOWN_REFS_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:868: warning: already initialized constant IMAGE_RE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:961: warning: already initialized constant OFFTAGS /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:962: warning: already initialized constant OFFTAG_MATCH /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:963: warning: already initialized constant OFFTAG_OPEN /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:964: warning: already initialized constant OFFTAG_CLOSE /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:965: warning: already initialized constant HASTAG_MATCH /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:966: warning: already initialized constant ALLTAG_MATCH /Users/patrick/projects/instiki-trunk/lib/redcloth.rb:1085: warning: already initialized constant BASIC_TAGS ................EE.F................................DEPRECATION WARNING: assert_template_xpath_match is deprecated and will be removed from Rails 2.0 (you should use assert_tag, instead) See http://www.rubyonrails.org/deprecation for details. (called from test_rss_switch_links_to_published at ./test/functional/wiki_controller_test.rb:466) DEPRECATION WARNING: assert_template_xpath_match is deprecated and will be removed from Rails 2.0 (you should use assert_tag, instead) See http://www.rubyonrails.org/deprecation for details. (called from test_rss_switch_links_to_published at ./test/functional/wiki_controller_test.rb:468) DEPRECATION WARNING: assert_template_xpath_match is deprecated and will be removed from Rails 2.0 (you should use assert_tag, instead) See http://www.rubyonrails.org/deprecation for details. (called from test_rss_switch_links_to_published at ./test/functional/wiki_controller_test.rb:469) .DEPRECATION WARNING: assert_template_xpath_match is deprecated and will be removed from Rails 2.0 (you should use assert_tag, instead) See http://www.rubyonrails.org/deprecation for details. (called from test_rss_timestamp at ./test/functional/wiki_controller_test.rb:528) ....DEPRECATION WARNING: assert_template_xpath_match is deprecated and will be removed from Rails 2.0 (you should use assert_tag, instead) See http://www.rubyonrails.org/deprecation for details. (called from test_rss_with_headlines at ./test/functional/wiki_controller_test.rb:438) DEPRECATION WARNING: assert_template_xpath_match is deprecated and will be removed from Rails 2.0 (you should use assert_tag, instead) See http://www.rubyonrails.org/deprecation for details. (called from test_rss_with_headlines at ./test/functional/wiki_controller_test.rb:440) DEPRECATION WARNING: assert_template_xpath_match is deprecated and will be removed from Rails 2.0 (you should use assert_tag, instead) See http://www.rubyonrails.org/deprecation for details. (called from test_rss_with_headlines at ./test/functional/wiki_controller_test.rb:441) ....E........... Finished in 9.990097 seconds. 1) Error: test_parse_uri_interestng_cases(RoutesTest): ActionController::RoutingError: no route found to match "///" with {:method=>:get} method recognize_path in routing.rb at line 1325 method recognize in routing.rb at line 1315 method recognized_request_for in routing_assertions.rb at line 94 method assert_recognizes in routing_assertions.rb at line 33 method clean_backtrace in assertions.rb at line 60 method assert_recognizes in routing_assertions.rb at line 31 method test_parse_uri_interestng_cases in routes_test.rb at line 24 2) Error: test_parse_uri_liberal_with_pagenames(RoutesTest): ActionController::RoutingError: no route found to match "/web/show/HomePage?" with {:method=>:get} method recognize_path in routing.rb at line 1325 method recognize in routing.rb at line 1315 method recognized_request_for in routing_assertions.rb at line 94 method assert_recognizes in routing_assertions.rb at line 33 method clean_backtrace in assertions.rb at line 60 method assert_recognizes in routing_assertions.rb at line 31 method assert_routing in routing_assertions.rb at line 74 method test_parse_uri_liberal_with_pagenames in routes_test.rb at line 32 3) Failure: test_authenticate(WikiControllerTest) [./test/functional/wiki_controller_test.rb:35]: <["pswd"]> expected but was <nil>. 4) Error: test_save_new_revision_identical_to_last(WikiControllerTest): NoMethodError: undefined method `has_key'' for #<ActionController::TestResponse:0x3152694> method test_save_new_revision_identical_to_last in wiki_controller_test.rb at line 568 87 tests, 284 assertions, 1 failures, 3 errors /opt/local/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" rake aborted! Test failures