Unverified Commit 28f1784f authored by boklm's avatar boklm
Browse files

Set TOR_SOCKS_PORT and TOR_CONTROL_PORT in pre_tests

parent de8beab1
...@@ -506,6 +506,8 @@ sub pre_tests { ...@@ -506,6 +506,8 @@ sub pre_tests {
set_tbbpaths($tbbinfos); set_tbbpaths($tbbinfos);
chdir $tbbinfos->{tbbdir} || exit_error "Can't enter directory $tbbinfos->{tbbdir}"; chdir $tbbinfos->{tbbdir} || exit_error "Can't enter directory $tbbinfos->{tbbdir}";
$ENV{TOR_SKIP_LAUNCH} = 1; $ENV{TOR_SKIP_LAUNCH} = 1;
$ENV{TOR_SOCKS_PORT} = $options->{'tor-socks-port'};
$ENV{TOR_CONTROL_PORT} = $options->{'tor-control-port'};
if ($options->{xdummy}) { if ($options->{xdummy}) {
$tbbinfos->{Xdisplay} = start_X("$tbbinfos->{'results-dir'}/xorg.log"); $tbbinfos->{Xdisplay} = start_X("$tbbinfos->{'results-dir'}/xorg.log");
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment