diff options
author | elijah <elijah@riseup.net> | 2014-11-19 11:37:45 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-11-19 11:37:45 -0800 |
commit | 6200be6fbf1f05665158e9ce8b218433f2440240 (patch) | |
tree | 4a2fc6b67c649fcba77da120b25025de82969160 /bin | |
parent | 7521958cc6c210d65009aa87c6c7297fd9be3dd2 (diff) |
test if soledad daemon is running
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/run_tests | 8 |
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 ## |