Do not buffer output for tests
This commit is contained in:
parent
b133b0a357
commit
0279cc1edf
|
@ -13,6 +13,10 @@ require "support/config"
|
|||
require "support/virtualbox"
|
||||
require "support/matchers/match_output"
|
||||
|
||||
# Do not buffer output
|
||||
$stdout.sync = true
|
||||
$stderr.sync = true
|
||||
|
||||
# If VirtualBox is currently running, fail.
|
||||
if Acceptance::VirtualBox.find_vboxsvc
|
||||
$stderr.puts "VirtualBox must be closed and remain closed for the duration of the tests."
|
||||
|
|
|
@ -13,6 +13,10 @@ begin
|
|||
rescue LoadError
|
||||
end
|
||||
|
||||
# Do not buffer output for tests
|
||||
$stdout.sync = true
|
||||
$stderr.sync = true
|
||||
|
||||
# Set the home directory to some temporary directory
|
||||
ENV["HOME"] = Vagrant.source_root.join("test", "tmp", "home").to_s
|
||||
|
||||
|
|
Loading…
Reference in New Issue