aboutsummaryrefslogtreecommitdiffstats
path: root/test/mkmf/test_find_executable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/mkmf/test_find_executable.rb')
-rw-r--r--test/mkmf/test_find_executable.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/mkmf/test_find_executable.rb b/test/mkmf/test_find_executable.rb
index ad48e5193c..7ffc28ecc8 100644
--- a/test/mkmf/test_find_executable.rb
+++ b/test/mkmf/test_find_executable.rb
@@ -47,5 +47,12 @@ class TestMkmf
assert_nil(result)
end
end
+
+ if /mingw|mswin/ =~ RUBY_PLATFORM
+ def test_quoted_path_on_windows
+ ENV["PATH"] = %["#{@tmpdir}"]
+ test_find_executable
+ end
+ end
end
end