aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-06 11:18:30 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-06 11:18:30 +0000
commitde017b075a3538545a62be9d2620d367036f52b4 (patch)
tree39f61dafecad67179225fb0cd32d3ab8da2d210b /test/lib
parent434c1dc5b57090217a0a5a3a5e382e9e0065e0c1 (diff)
downloadruby-de017b075a3538545a62be9d2620d367036f52b4.tar.gz
* test/runner.rb: extracted test helper.
* test/lib/zombie_hunter.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib')
-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