[Groonga-commit] groonga/grntest at 3b63d88 [master] Support errno value in system call error message at the end

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Jan 10 13:07:41 JST 2015


Kouhei Sutou	2015-01-10 13:07:41 +0900 (Sat, 10 Jan 2015)

  New Revision: 3b63d887aa051c8754916e458d03424c2becdfd0
  https://github.com/groonga/grntest/commit/3b63d887aa051c8754916e458d03424c2becdfd0

  Message:
    Support errno value in system call error message at the end

  Modified files:
    lib/grntest/test-runner.rb

  Modified: lib/grntest/test-runner.rb (+2 -1)
===================================================================
--- lib/grntest/test-runner.rb    2014-10-25 17:31:51 +0900 (d575e4d)
+++ lib/grntest/test-runner.rb    2015-01-10 13:07:41 +0900 (5ff4aa7)
@@ -493,7 +493,8 @@ EOF
         path = $2
         post = $3
         normalized_path = File.basename(path)
-        post = "" unless post.end_with?(")")
+        post = post.gsub(/\[\d+\]\z/, "[?]")
+        post = "" unless /[\)\]]\z/ =~ post
         "#{pre}<#{normalized_path}>'#{post}"
       else
         content
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index