From dad31f6e5047272cea5a65c764281bcaa7284131 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 17 Apr 2012 04:11:17 +0000 Subject: * 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 --- test/-ext-/win32/test_dln.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/-ext-/win32/test_dln.rb (limited to 'test') 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 -- cgit v1.2.3