From e0d6528f699c9df9dd841a03ec1e994516311371 Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Sun, 5 Aug 2018 22:45:48 -0500 Subject: [PATCH] Fix test\test_tmpdir.rb See Ruby Issue 14966 --- test/test_tmpdir.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_tmpdir.rb b/test/test_tmpdir.rb index d05ffc934ada..7cdf2bba3a57 100644 --- a/test/test_tmpdir.rb +++ b/test/test_tmpdir.rb @@ -58,6 +58,7 @@ def test_mktmpdir_nil end TRAVERSAL_PATH = Array.new(Dir.pwd.split('/').count, '..').join('/') + Dir.pwd + '/' + TRAVERSAL_PATH.delete!(':') if /mswin|mingw/ =~ RUBY_PLATFORM def test_mktmpdir_traversal expect = Dir.glob(TRAVERSAL_PATH + '*').count