Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fssm 0.2.7 fails tests with rb-inotify 0.8.6 installed #30

Closed
graaff opened this issue Aug 13, 2011 · 5 comments
Closed

fssm 0.2.7 fails tests with rb-inotify 0.8.6 installed #30

graaff opened this issue Aug 13, 2011 · 5 comments

Comments

@graaff
Copy link

graaff commented Aug 13, 2011

This is with ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux] on a Gentoo Linux machine. Please let me know if you need more information to track this down. Without rb-inotify all specs pass.

  1) The File System State Monitor monitor when configured to consider files and directories should call create, update, and delete callbacks upon directory renaming in the same directory
     Failure/Error: @handler_results[:update].should include([@tmp_dir, 'root', :directory])
       expected [] to include ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-bbyjna", "root", :directory]
       Diff:
       @@ -1,4 +1,2 @@
       -["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-bbyjna",
       - "root",
       - :directory]
       +[]
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/fail_with.rb:29:in `fail_with'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/handler.rb:19:in `handle_matcher'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/extensions/kernel.rb:27:in `should'
     # ./spec/monitor_spec.rb:131
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:48:in `instance_eval'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:48:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:107:in `with_around_hooks'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:45:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:294:in `run_examples'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:290:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:290:in `run_examples'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:262:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/reporter.rb:12:in `report'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:21:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run'

  2) The File System State Monitor monitor when configured to consider files and directories should call create, update, and delete callbacks upon directory moving to another directory
     Failure/Error: @handler_results[:update].should include([@tmp_dir, 'root', :directory])
       expected [] to include ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-1nb5ggj", "root", :directory]
       Diff:
       @@ -1,4 +1,2 @@
       -["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-1nb5ggj",
       - "root",
       - :directory]
       +[]
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/fail_with.rb:29:in `fail_with'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/handler.rb:19:in `handle_matcher'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/extensions/kernel.rb:27:in `should'
     # ./spec/monitor_spec.rb:140
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:48:in `instance_eval'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:48:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:107:in `with_around_hooks'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:45:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:294:in `run_examples'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:290:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:290:in `run_examples'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:262:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/reporter.rb:12:in `report'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:21:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run'

  3) The File System State Monitor monitor when configured to consider files and directories should call create, update, and delete callbacks upon file renaming in the same directory
     Failure/Error: @handler_results[:update].should include([@tmp_dir, 'root', :directory])
       expected [] to include ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-1665872", "root", :directory]
       Diff:
       @@ -1,4 +1,2 @@
       -["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-1665872",
       - "root",
       - :directory]
       +[]
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/fail_with.rb:29:in `fail_with'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/handler.rb:19:in `handle_matcher'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/extensions/kernel.rb:27:in `should'
     # ./spec/monitor_spec.rb:149
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:48:in `instance_eval'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:48:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:107:in `with_around_hooks'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:45:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:294:in `run_examples'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:290:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:290:in `run_examples'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:262:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/reporter.rb:12:in `report'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:21:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run'

  4) The File System State Monitor monitor when configured to consider files and directories should call create, update, and delete callbacks upon file moving to another directory
     Failure/Error: @handler_results[:update].should include([@tmp_dir, 'root', :directory])
       expected [] to include ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-9h534q", "root", :directory]
       Diff:
       @@ -1,4 +1,2 @@
       -["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-9h534q",
       - "root",
       - :directory]
       +[]
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/fail_with.rb:29:in `fail_with'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/handler.rb:19:in `handle_matcher'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/extensions/kernel.rb:27:in `should'
     # ./spec/monitor_spec.rb:158
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:48:in `instance_eval'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:48:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:107:in `with_around_hooks'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:45:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:294:in `run_examples'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:290:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:290:in `run_examples'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:262:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/reporter.rb:12:in `report'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:21:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run'

  5) The File System State Monitor monitor when configured to consider files and directories should call create callbacks upon directory structure creation, in order
     Failure/Error: @handler_results[:create].should == expected_create_events.map { |(file, type)| [@tmp_dir, file, type] }
       expected: [["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root", :directory], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/duck", :directory], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/duck/quack.txt", :file], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/file.css", :file], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/file.rb", :file], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/file.yml", :file], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/moo", :directory], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/moo/cow.txt", :file], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/yawn", :directory]]
            got: [["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root", :directory], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/moo", :directory], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/moo/cow.txt", :file], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/yawn", :directory], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/file.rb", :file], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/file.yml", :file], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/file.css", :file], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/duck", :directory], ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol", "new_root/duck/quack.txt", :file]] (using ==)
       Diff:


       @@ -2,14 +2,14 @@
          "new_root",
          :directory],
         ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol",
       -  "new_root/duck",
       +  "new_root/moo",
          :directory],
         ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol",
       -  "new_root/duck/quack.txt",
       +  "new_root/moo/cow.txt",
          :file],
         ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol",
       -  "new_root/file.css",
       -  :file],
       +  "new_root/yawn",
       +  :directory],
         ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol",
          "new_root/file.rb",
          :file],

       @@ -17,12 +17,12 @@
          "new_root/file.yml",
          :file],
         ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol",
       -  "new_root/moo",
       -  :directory],
       - ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol",
       -  "new_root/moo/cow.txt",
       +  "new_root/file.css",
          :file],
         ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol",
       -  "new_root/yawn",
       -  :directory]]
       +  "new_root/duck",
       +  :directory],
       + ["/var/tmp/portage/dev-ruby/fssm-0.2.7-r1/temp/d20110813-22103-8zfpol",
       +  "new_root/duck/quack.txt",
       +  :file]]
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/expectations/fail_with.rb:29:in `fail_with'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/matchers/operator_matcher.rb:48:in `fail_with_message'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/matchers/operator_matcher.rb:70:in `__delegate_operator'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/matchers/operator_matcher.rb:60:in `eval_match'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-expectations-2.6.0/lib/rspec/matchers/operator_matcher.rb:29:in `=='
     # ./spec/monitor_spec.rb:196
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:48:in `instance_eval'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:48:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:107:in `with_around_hooks'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:45:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:294:in `run_examples'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:290:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:290:in `run_examples'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:262:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `map'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/reporter.rb:12:in `report'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:21:in `run'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process'
     # /usr/lib64/ruby/gems/1.8/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run'

Finished in 15.97 seconds
26 examples, 5 failures
@ttilley
Copy link
Owner

ttilley commented Aug 13, 2011

known, and not just rb-inotify. :-/

I got sidetracked with work on rb-fsevent, but started a cleanup of FSSM that lead to starting a rewrite which hasn't been pushed to a public repo yet. Anyways, the relevant line from the cleanup branch: https://github.com/ttilley/fssm/blob/cleanup/spec/monitor_spec.rb#L136

@graaff
Copy link
Author

graaff commented Aug 14, 2011

Thanks for the feedback. I've applied that patch in Gentoo and made the fssm package depend on rb-inotify, so that people will now automatically get the inotify support.

@ttilley
Copy link
Owner

ttilley commented Aug 14, 2011

If that's the case, there are probably other commits on the cleanup branch you'd want to consider.

SHA: fbe274b
SHA: 6056bac
SHA: 946d747
SHA: c16bb27
SHA: e997e74 (the one mentioned above)

Note that the statements about rb-inotify only passing the test suite in JRuby no longer apply with the latest release of rb-inotify.

@ttilley
Copy link
Owner

ttilley commented Aug 14, 2011

I'm making use of bundler to provide proper platform support when running rake and specs, which you don't care about in gentoo since you obviously only need the inotify backend.

@graaff
Copy link
Author

graaff commented Aug 14, 2011

We try to stay as close as possible to the upstream releases, so I'm going to pass on the additional commits. In Gentoo we offer our users the ability to runs tests automatically when installing, so I needed to apply that patch to get a passing test suite.

Also note that Gentoo can and does run on other kernels, e.g. on macos or even Windows, so we can't fully assume inotify-only. But we can't use bundler to install things either, so we need to solve all the dependency fun on our end anyway.

@ttilley ttilley closed this as completed Jan 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants