summaryrefslogtreecommitdiff
path: root/bin/run_tests
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-11-19 11:37:45 -0800
committerelijah <elijah@riseup.net>2014-11-19 11:37:45 -0800
commit6200be6fbf1f05665158e9ce8b218433f2440240 (patch)
tree4a2fc6b67c649fcba77da120b25025de82969160 /bin/run_tests
parent7521958cc6c210d65009aa87c6c7297fd9be3dd2 (diff)
test if soledad daemon is running
Diffstat (limited to 'bin/run_tests')
-rwxr-xr-xbin/run_tests8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/run_tests b/bin/run_tests
index b3e60fcc..4addc0c8 100755
--- a/bin/run_tests
+++ b/bin/run_tests
@@ -36,6 +36,14 @@ def bail(code, msg=nil)
end
##
+## UTILITY
+##
+
+def service?(service)
+ $node["services"].include?(service.to_s)
+end
+
+##
## EXCEPTIONS
##