aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib/zombie_hunter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/zombie_hunter.rb')
-rw-r--r--test/lib/zombie_hunter.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/lib/zombie_hunter.rb b/test/lib/zombie_hunter.rb
new file mode 100644
index 0000000000..77be4dfea8
--- /dev/null
+++ b/test/lib/zombie_hunter.rb
@@ -0,0 +1,8 @@
+module ZombieHunter
+ def after_teardown
+ super
+ assert_empty(Process.waitall)
+ end
+end
+
+Test::Unit::TestCase.include ZombieHunter