aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSteven Peters2014-06-17 11:57:31 -0700
committerJack Nagel2014-06-17 16:09:23 -0500
commit6b1bfe5b099fda1cc24b91c3c33d58856f385c1d (patch)
tree25fe0006f609897494c676cd9702e775195b5b6c /Library/Formula
parenteb46d2ee7833ad0b8a0e67b34873cc71a3665640 (diff)
downloadhomebrew-6b1bfe5b099fda1cc24b91c3c33d58856f385c1d.tar.bz2
czmq: fix brew test
The czmq self test can fail depending on the location and permissions of the folder from which it is launched. It appears to pass when launched from its own Cellar. Closes #30243. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/czmq.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/czmq.rb b/Library/Formula/czmq.rb
index 950b8aa60..9fd81695c 100644
--- a/Library/Formula/czmq.rb
+++ b/Library/Formula/czmq.rb
@@ -27,6 +27,8 @@ class Czmq < Formula
end
test do
- system "#{bin}/czmq_selftest"
+ bin.cd do
+ system "#{bin}/czmq_selftest"
+ end
end
end