[Rake-devel] Two errors solved, one to go

Daniel Berger djberge at qwest.com
Thu May 5 17:01:37 EDT 2005


Hi all,

I nailed two of the remaining issues I think:

--- testfileutils.orig  Thu May  5 14:41:00 2005
+++ testfileutils.rb    Thu May  5 14:59:12 2005
@@ -8,6 +8,10 @@
  class TestFileUtils < Test::Unit::TestCase
    include FileCreation

+  def setup
+     File.chmod(0750,"test/shellcommand.rb")
+  end
+
    def test_rm_one_file
      create_file("testdata/a")
      FileUtils.rm_r "testdata/a"
@@ -114,4 +118,7 @@
      end
    end

+  def teardown
+     FileUtils.rm_f("testdata")
+  end
  end

Note that the diff includes the teardown modification I posted in my 
last email.  That leaves only this one:

3) Error:
test_create(TestMakefileLoader):
Errno::ENOENT: No such file or directory - test/data/sample.mf
     ./lib/rake/loaders/makefile.rb:11:in `initialize'
     ./lib/rake/loaders/makefile.rb:11:in `open'
     ./lib/rake/loaders/makefile.rb:11:in `load'
     ./test/test_makefile_loader.rb:11:in `test_create'

There doesn't seem to actually be a test/data/sample.mf file anywhere. 
Unless I deleted it somehow, but I don't think so.

Dan


More information about the Rake-devel mailing list