aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest/test_fork.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest/test_fork.rb')
-rw-r--r--bootstraptest/test_fork.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstraptest/test_fork.rb b/bootstraptest/test_fork.rb
new file mode 100644
index 0000000000..4632ca2694
--- /dev/null
+++ b/bootstraptest/test_fork.rb
@@ -0,0 +1,6 @@
+assert_equal '0', %q{
+ GC.stress = true
+ pid = fork {}
+ Process.wait pid
+ $?.to_i
+}, '[ruby-dev:32404]'