<!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">2015-01-26 19:10:29 +0900 (Mon, 26 Jan 2015)</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/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5">51f1be596043c5e8571800da28e6008b72ada7e5</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">http: pass GRN_* environment variables to nginx</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/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#diff-0">lib/grntest/test-runner.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/grntest/test-runner.rb (+11 -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/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L358">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L359">359</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L360">360</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L361">361</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L362">362</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/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L363">363</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L364">364</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L365">365</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L368">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L369">369</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L370">370</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L371">371</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/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L372">372</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-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-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-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/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L373">373</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L374">374</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L375">375</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L381">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L382">382</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L383">383</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L384">384</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L385">385</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/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L386">386</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L387">387</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0L388">388</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/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R358">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R359">359</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R360">360</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R361">361</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R362">362</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R363">363</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R364">364</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R365">365</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R368">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R369">369</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R370">370</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R371">371</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R372">372</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R373">373</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R374">374</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R375">375</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R376">376</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R377">377</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R378">378</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R379">379</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R380">380</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R381">381</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R382">382</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R383">383</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R384">384</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R390">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R391">391</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R392">392</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R393">393</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R394">394</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R395">395</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R396">396</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grntest/commit/51f1be596043c5e8571800da28e6008b72ada7e5#L0R397">397</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">@@ -359,7 +359,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">EOC</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> config_file_path =</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> context.temporary_directory_path + "groonga-httpd.conf"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> config_file_path.open("w") do |config_file|</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- config_file.puts(<<EOF)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ config_file.puts(<<-GLOBAL)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> daemon off;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> master_process off;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> worker_processes 1;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -369,7 +369,16 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">pid #{pid_file_path};</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> events {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> worker_connections 1024;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ GLOBAL</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ ENV.each do |key, value|</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ next unless key.start_with?("GRN_")</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ config_file.puts(<<-ENV)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+env #{key};</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ ENV</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ config_file.puts(<<-HTTP)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> http {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> server {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> access_log groonga-httpd-access.log;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -382,7 +391,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">http {</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"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-EOF</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ HTTP</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"> config_file_path</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>