<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2018-06-13 17:23:01 +0900 (Wed, 13 Jun 2018)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1">3a0913a0538e65a4965c61817237304f58ba6dc1</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">run-regression-test: return true on success</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0">lib/groonga-query-log/command/run-regression-test.rb</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/groonga-query-log/command/run-regression-test.rb (+5 -2)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L360">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L361">361</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L362">362</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L363">363</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L364">364</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L365">365</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L366">366</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L383">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L384">384</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L385">385</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L386">386</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L387">387</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L388">388</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L389">389</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L390">390</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L398">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L399">399</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L400">400</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L401">401</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L402">402</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L403">403</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L404">404</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0L405">405</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R360">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R361">361</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R362">362</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R363">363</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R364">364</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R365">365</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R366">366</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R367">367</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R384">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R385">385</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R386">386</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R387">387</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R388">388</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R389">389</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R390">390</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R391">391</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R392">392</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R393">393</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R401">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R402">402</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R403">403</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R404">404</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R405">405</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R406">406</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R407">407</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/3a0913a0538e65a4965c61817237304f58ba6dc1#diff-452fc7c67b461ca3e554066b1427a1c0R408">408</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -361,6 +361,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module GroongaQueryLog</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">             @n_ready_waits -= 1</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             return true unless @n_ready_waits.zero?</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            same = true</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             query_log_paths.each do |query_log_path|</span>
<span class="diff-not-changed" style="display: block; white-space: pre">               log_path = test_log_path(query_log_path)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">               if @options[:skip_finished_queries] and log_path.exist?</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -384,7 +385,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module GroongaQueryLog</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 else</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                   callback = nil</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 end</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-                verify_server(log_path, query_log_path, &amp;callback)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                unless verify_server(log_path, query_log_path, &amp;callback)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                  same = false</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                end</span>
<span class="diff-not-changed" style="display: block; white-space: pre">               rescue Interrupt</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 puts(&quot;Interrupt: #{query_log_path}&quot;)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">               end</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -399,7 +402,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module GroongaQueryLog</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">             old_thread.join</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             new_thread.join</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">tru</span>e</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            <span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">sam</span>e</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">           def verify_server(test_log_path, query_log_path, &amp;callback)</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>