From 263abf2963fe089db9a7870be72f30edec13448e Mon Sep 17 00:00:00 2001 From: kazu Date: Thu, 17 Sep 2009 22:08:32 +0000 Subject: * test/fileutils/test_fileutils.rb: add a test for [ruby-dev:39345] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/fileutils/test_fileutils.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/fileutils') diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index 69bc51f7ab..2e04dc1239 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -440,6 +440,11 @@ end assert_file_not_exist 'tmp/rmtmp2' assert_file_not_exist 'tmp/rmtmp3' assert_file_exist 'tmp/rmtmp4' + + # [ruby-dev:39345] + touch 'tmp/[rmtmp]' + rm_f 'tmp/[rmtmp]' + assert_file_not_exist 'tmp/[rmtmp]' end def test_rm_r -- cgit v1.2.3