Skip to content

Instantly share code, notes, and snippets.

@rmoriz
Created May 3, 2011 17:11
Show Gist options
  • Select an option

  • Save rmoriz/953737 to your computer and use it in GitHub Desktop.

Select an option

Save rmoriz/953737 to your computer and use it in GitHub Desktop.
rmoriz:/tmp/rb-fsevent(master)$bundle exec rspec spec/
No examples were matched by {:focus=>true}, running all
creating Makefile
CFLAGS='-isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -mdynamic-no-pic -std=gnu99 -Os -pipe -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wsign-compare -Wnewline-eof -Wconversion -Wshorten-64-to-32 -Wglobal-constructors -pedantic' /usr/bin/gcc -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -mdynamic-no-pic -std=gnu99 -dead_strip -framework CoreServices -o '/private/tmp/rb-fsevent/bin/fsevent_watch' fsevent/fsevent_watch.c
fsevent_watch compiled
.2011-05-03 19:09 fsevent_watch[28915] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
F2011-05-03 19:09 fsevent_watch[28941] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
F2011-05-03 19:09 fsevent_watch[28965] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
F2011-05-03 19:09 fsevent_watch[28993] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
F
Failures:
1) FSEvent should work with path with an apostrophe
Failure/Error: @results.should == [custom_path.to_s + '/']
expected: ["/private/tmp/rb-fsevent/spec/fixtures/custom 'path/"]
got: [] (using ==)
Diff:
@@ -1,2 +1,2 @@
-["/private/tmp/rb-fsevent/spec/fixtures/custom 'path/"]
+[]
# ./spec/rb-fsevent/fsevent_spec.rb:30
2) FSEvent should catch new file
Failure/Error: @results.should == [@fixture_path.to_s + '/']
expected: ["/private/tmp/rb-fsevent/spec/fixtures/"]
got: [] (using ==)
Diff:
@@ -1,2 +1,2 @@
-["/private/tmp/rb-fsevent/spec/fixtures/"]
+[]
# ./spec/rb-fsevent/fsevent_spec.rb:40
3) FSEvent should catch file update
Failure/Error: @results.should == [@fixture_path.join("folder1/").to_s]
expected: ["/private/tmp/rb-fsevent/spec/fixtures/folder1/"]
got: [] (using ==)
Diff:
@@ -1,2 +1,2 @@
-["/private/tmp/rb-fsevent/spec/fixtures/folder1/"]
+[]
# ./spec/rb-fsevent/fsevent_spec.rb:49
4) FSEvent should catch files update
Failure/Error: @results.should == [@fixture_path.join("folder1/").to_s, @fixture_path.join("folder1/folder2/").to_s]
expected: ["/private/tmp/rb-fsevent/spec/fixtures/folder1/", "/private/tmp/rb-fsevent/spec/fixtures/folder1/folder2/"]
got: [] (using ==)
Diff:
@@ -1,3 +1,2 @@
-["/private/tmp/rb-fsevent/spec/fixtures/folder1/",
- "/private/tmp/rb-fsevent/spec/fixtures/folder1/folder2/"]
+[]
# ./spec/rb-fsevent/fsevent_spec.rb:61
Finished in 13.08 seconds
5 examples, 4 failures
@rmoriz
Copy link
Author

rmoriz commented May 3, 2011

used: toolchain Xcode 2.3.5 1760

results were the same with:

  • ree-1.8.7-2011.03
  • ruby-1.8.7-p302
  • ruby-1.9.2-p180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment