aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2015-04-21 16:59:23 +0800
committerXu Cheng2015-04-21 16:59:37 +0800
commitb1f532acfc0259469d99d5c3e4fbed7c3a9616c6 (patch)
tree62403959582dcd6c0dc0c49fc106c6339e3ebbcb
parent5cda0af3b97ecdd78412952ab161eb85a1aca8be (diff)
downloadhomebrew-b1f532acfc0259469d99d5c3e4fbed7c3a9616c6.tar.bz2
test: add missing `require "timeout"`
When the timeout exception is propagated backed from `safe_fork`, it requires "timeout" to restore the exception.
-rw-r--r--Library/Homebrew/cmd/test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/test.rb b/Library/Homebrew/cmd/test.rb
index 616da440b..95736f3f0 100644
--- a/Library/Homebrew/cmd/test.rb
+++ b/Library/Homebrew/cmd/test.rb
@@ -1,6 +1,7 @@
require "extend/ENV"
require "formula_assertions"
require "sandbox"
+require "timeout"
module Homebrew