summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-12-30 18:04:30 -0800
committerelijah <elijah@riseup.net>2013-12-30 18:04:30 -0800
commit353475da8d535f2904e68977c3dafa6bb3bb483a (patch)
treebeb01b13f2f2b2e2040e0ece1bf1db13523b6e4f /bin
parent71f2d1b0b7db6bb35dd6bd9220795aed3174d90b (diff)
tests -- added tests to check that the right processes are running
Diffstat (limited to 'bin')
-rwxr-xr-xbin/run_tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/run_tests b/bin/run_tests
index f4778988..a44fcdcf 100755
--- a/bin/run_tests
+++ b/bin/run_tests
@@ -249,6 +249,10 @@ class LeapTest < MiniTest::Unit::TestCase
end
end
+def assert_running(process)
+ assert pgrep(process).any?, "No running process for #{process}"
+end
+
#
# Custom test runner in order to modify the output.
#