<!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 <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2017-04-24 11:12:40 +0900 (Mon, 24 Apr 2017)</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/877fb435ea68429562c887fc806c078b6e170e7e">877fb435ea68429562c887fc806c078b6e170e7e</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, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">run-regression-test: ensure outputting command</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890">lib/groonga/query-log/server-verifier.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, "Liberation Mono", 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/server-verifier.rb (+3 -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, "Liberation Mono", 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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L130">...</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L131">131</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L132">132</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L133">133</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L134">134</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L135">135</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L136">136</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L137">137</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L145">...</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L146">146</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L147">147</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L148">148</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L149">149</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga-query-log/commit/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L150">150</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L151">151</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890L152">152</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R130">...</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R131">131</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R132">132</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R133">133</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R134">134</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R135">135</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R136">136</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R137">137</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R145">...</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R146">146</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R147">147</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R148">148</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R149">149</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R150">150</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R151">151</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R152">152</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/877fb435ea68429562c887fc806c078b6e170e7e#diff-f9ec92cda2544b78dc9dacc1244ce890R153">153</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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">@@ -131,7 +131,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Groonga</span></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_command(groonga1_client, groonga2_client, command)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> command["cache"] = "no" if @options.disable_cache?</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- command["output_type"] = <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">:</span>json</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ command["output_type"] = <span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">"</span>json<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">"</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> response1 = groonga1_client.execute(command)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> response2 = groonga2_client.execute(command)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> compare_options = {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -146,7 +146,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Groonga</span></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 report_result(output, result)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> command, response1, response2 = result</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- output.puts("command: #{command.original_source}")</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ command_source = command.original_source || command.to_uri_format</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ output.puts("command: #{command_source}")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> output.puts("response1: #{response1.body.to_json}")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> output.puts("response2: #{response2.body.to_json}")</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>