summaryrefslogtreecommitdiff
path: root/bin/run_tests
diff options
context:
space:
mode:
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
##