summaryrefslogtreecommitdiff
path: root/test/-ext-/win32/test_dln.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-17 04:11:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-17 04:11:17 +0000
commitdad31f6e5047272cea5a65c764281bcaa7284131 (patch)
treed0a8caf8138c0d965235a915f9d7ee2bbd0e095b /test/-ext-/win32/test_dln.rb
parent6655667d738d59cc824b264eef4587fe9700af15 (diff)
* dln.c (rb_w32_check_imported): skip ordinal entries. based on a
patch by phasis68 (Heesob Park) at [ruby-core:44381]. [ruby-core:44371][Bug #6303] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-/win32/test_dln.rb')
-rw-r--r--test/-ext-/win32/test_dln.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/-ext-/win32/test_dln.rb b/test/-ext-/win32/test_dln.rb
new file mode 100644
index 0000000000..7ab912af7f
--- /dev/null
+++ b/test/-ext-/win32/test_dln.rb
@@ -0,0 +1,13 @@
+require 'test/unit'
+require_relative '../../ruby/envutil'
+
+module Bug
+ module Win32
+ class TestDln < Test::Unit::TestCase
+ def test_check_imported
+ bug = '[Bug #6303]'
+ assert_in_out_err(['-r-test-/win32/dln', '-eexit'], '', [], [], bug, timeout: 10)
+ end
+ end
+ end
+end