Unverified Commit 89f151e6 authored by boklm's avatar boklm
Browse files

tor_bootstrap: add content of the torrc file to the test details

parent 335e9822
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@ sub start_tor {
        $template->process("$test->{name}.conf", $vars, \$config,
            binmode => ':utf8')
                || exit_error "Template Error:\n" . $template->error;
        $test->{torrc} = $config;
        $torrc_file = File::Temp->new;
        write_file($torrc_file, $config);
    }
+5 −0
Original line number Diff line number Diff line
<ul>
    [% IF test.torrc %]
    <li><a href="javascript:togglecontent('torrc_[% test.name %]')">torrc content</a>
    <pre id="torrc_[% test.name %]" style="display:none">[% test.torrc %]</pre>
    </li>
    [% END %]
    <li><a href="results-[% tbbfile %]/[% test.name %].log">tor daemon logs</a></li>
</ul>
[% IF test.results.fetch_error %]