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
commitde8c69313e87adc6e4f2b006ba48d5d82912bade (patch)
tree39f61dafecad67179225fb0cd32d3ab8da2d210b /test/lib
parentfcf63d1e54384420a1ac8b5b5e2b7bd0b53a5df3 (diff)
downloadruby-de8c69313e87adc6e4f2b006ba48d5d82912bade.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