diff -rup2 ../ruby-1.8.1-base/test/fileutils/test_fileutils.rb ./test/fileutils/test_fileutils.rb
--- ../ruby-1.8.1-base/test/fileutils/test_fileutils.rb	Wed Dec 24 13:30:36 2003
+++ ./test/fileutils/test_fileutils.rb	Thu Dec 25 09:31:04 2003
@@ -82,4 +82,5 @@ class TestFileUtils
   def teardown
     tmproot = Dir.pwd
+    Dir.chdir Dir.tmpdir
     Dir.chdir @prevdir
     my_rm_rf tmproot
diff -rup2 ../ruby-1.8.1-base/test/fileutils/test_nowrite.rb ./test/fileutils/test_nowrite.rb
--- ../ruby-1.8.1-base/test/fileutils/test_nowrite.rb	Wed Nov 26 07:28:54 2003
+++ ./test/fileutils/test_nowrite.rb	Thu Dec 25 09:31:30 2003
@@ -39,4 +39,5 @@ class TestNoWrite < Test::Unit::TestCase
   def teardown
     tmproot = Dir.pwd
+    Dir.chdir Dir.tmpdir
     Dir.chdir @prevdir
     my_rm_rf tmproot
