summaryrefslogtreecommitdiffstats
path: root/features
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2019-06-09 15:46:44 +0000
committerintrigeri <intrigeri@boum.org>2019-06-09 15:46:44 +0000
commit2d5e6cd675bb61936db5352478f3a1d8e7d20473 (patch)
treeda807d63503860d8ff6396f40386cab41ec08f48 /features
parent91703528e5ee6a91ba151e5351e011ccebad6c99 (diff)
Test suite: fix indentation.
Diffstat (limited to 'features')
-rw-r--r--features/support/helpers/misc_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/support/helpers/misc_helpers.rb b/features/support/helpers/misc_helpers.rb
index b52553a..8ca27af 100644
--- a/features/support/helpers/misc_helpers.rb
+++ b/features/support/helpers/misc_helpers.rb
@@ -164,7 +164,7 @@ def wait_until_tor_is_working
try_for(270) { $vm.execute('/usr/local/sbin/tor-has-bootstrapped').success? }
rescue Timeout::Error
# Save Tor logs before erroring out
- File.open("#{$config["TMPDIR"]}/log.tor", 'w') { |file|
+ File.open("#{$config["TMPDIR"]}/log.tor", 'w') { |file|
file.write($vm.execute('journalctl --no-pager -u tor@default.service').stdout)
file.write($vm.file_content('/var/log/tor/log'))
}