Commit a44a711a authored by anonym's avatar anonym
Browse files

Fix indentation.

parent dcb30cc9
......@@ -363,14 +363,14 @@ end
Given /^the time has synced$/ do
begin
["/run/tordate/done", "/run/htpdate/success"].each do |file|
try_for(300) { $vm.execute("test -e #{file}").success? }
try_for(300) { $vm.execute("test -e #{file}").success? }
end
rescue
File.open("#{$config["TMPDIR"]}/log.htpdate", 'w') { |file|
file.write($vm.execute('cat /var/log/htpdate.log').stdout)
}
raise TimeSyncingError.new("Time syncing failed")
end
rescue
File.open("#{$config["TMPDIR"]}/log.htpdate", 'w') { |file|
file.write($vm.execute('cat /var/log/htpdate.log').stdout)
}
raise TimeSyncingError.new("Time syncing failed")
end
end
Given /^available upgrades have been checked$/ do
......
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