Skip to content

Instantly share code, notes, and snippets.

@blambeau
Created January 14, 2012 16:51
Show Gist options
  • Save blambeau/1612013 to your computer and use it in GitHub Desktop.
Save blambeau/1612013 to your computer and use it in GitHub Desktop.
epath test failures under mingw
Run options: exclude {:fails_on=>#<Proc:./spec/spec_helper.rb:32>, :unix=>false, :symlink=>false, :ruby=>#<Proc:./spec/spec_helper.rb:27>}
........FF...........................F.F.....F..FF...........F.....F......F...............................................
Failures:
1) Path implementation realpath
Failure/Error: not_exist.make_symlink('not-exist-target')
NotImplementedError:
symlink() function is unimplemented on this machine
# ./lib/epath/file.rb:65:in `symlink'
# ./lib/epath/file.rb:65:in `make_symlink'
# ./spec/epath/implementation_spec.rb:294:in `block (2 levels) in <top (required)>'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath.rb:66:in `tmpdir'
# ./Rakefile:4:in `block in <top (required)>'
2) Path implementation realdirpath
Failure/Error: not_exist.make_symlink('not-exist-target')
NotImplementedError:
symlink() function is unimplemented on this machine
# ./lib/epath/file.rb:65:in `symlink'
# ./lib/epath/file.rb:65:in `make_symlink'
# ./spec/epath/implementation_spec.rb:355:in `block (3 levels) in <top (required)>'
# ./lib/epath.rb:66:in `tmpdir'
# ./spec/epath/implementation_spec.rb:348:in `block (2 levels) in <top (required)>'
# ./Rakefile:4:in `block in <top (required)>'
3) Path implementation lchmod
Failure/Error: path = Path('l').make_symlink('a')
NotImplementedError:
symlink() function is unimplemented on this machine
# ./lib/epath/file.rb:65:in `symlink'
# ./lib/epath/file.rb:65:in `make_symlink'
# ./spec/epath/implementation_spec.rb:646:in `block (2 levels) in <top (required)>'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath.rb:66:in `tmpdir'
# ./Rakefile:4:in `block in <top (required)>'
4) Path implementation lchown
Failure/Error: path = Path('l').make_symlink('a')
NotImplementedError:
symlink() function is unimplemented on this machine
# ./lib/epath/file.rb:65:in `symlink'
# ./lib/epath/file.rb:65:in `make_symlink'
# ./spec/epath/implementation_spec.rb:674:in `block (2 levels) in <top (required)>'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath.rb:66:in `tmpdir'
# ./Rakefile:4:in `block in <top (required)>'
5) Path implementation readlink
Failure/Error: Path('l').make_symlink(a).readlink.should == a
NotImplementedError:
symlink() function is unimplemented on this machine
# ./lib/epath/file.rb:65:in `symlink'
# ./lib/epath/file.rb:65:in `make_symlink'
# ./spec/epath/implementation_spec.rb:737:in `block (2 levels) in <top (required)>'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath.rb:66:in `tmpdir'
# ./Rakefile:4:in `block in <top (required)>'
6) Path implementation lstat
Failure/Error: path = Path('l').make_symlink(a)
NotImplementedError:
symlink() function is unimplemented on this machine
# ./lib/epath/file.rb:65:in `symlink'
# ./lib/epath/file.rb:65:in `make_symlink'
# ./spec/epath/implementation_spec.rb:756:in `block (2 levels) in <top (required)>'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath.rb:66:in `tmpdir'
# ./Rakefile:4:in `block in <top (required)>'
7) Path implementation make_symlink
Failure/Error: Path('l').make_symlink('a').lstat.should be_a_symlink
NotImplementedError:
symlink() function is unimplemented on this machine
# ./lib/epath/file.rb:65:in `symlink'
# ./lib/epath/file.rb:65:in `make_symlink'
# ./spec/epath/implementation_spec.rb:766:in `block (2 levels) in <top (required)>'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath.rb:66:in `tmpdir'
# ./Rakefile:4:in `block in <top (required)>'
8) Path implementation grpowned?
Failure/Error: a.should be_grpowned
expected grpowned? to return true, got false
# ./spec/epath/implementation_spec.rb:841:in `block (2 levels) in <top (required)>'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath.rb:66:in `tmpdir'
# ./Rakefile:4:in `block in <top (required)>'
9) Path implementation world_readable?
Failure/Error: f.world_readable?.should be_nil
expected: nil
got: 292
# ./spec/epath/implementation_spec.rb:881:in `block (2 levels) in <top (required)>'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath.rb:66:in `tmpdir'
# ./Rakefile:4:in `block in <top (required)>'
10) Path implementation world_writable?
Failure/Error: f.world_readable?.should be_nil
expected: nil
got: 420
# ./spec/epath/implementation_spec.rb:930:in `block (2 levels) in <top (required)>'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath/dir.rb:59:in `chdir'
# ./lib/epath.rb:66:in `tmpdir'
# ./Rakefile:4:in `block in <top (required)>'
Finished in 0.26702 seconds
122 examples, 10 failures
Failed examples:
rspec ./spec/epath/implementation_spec.rb:290 # Path implementation realpath
rspec ./spec/epath/implementation_spec.rb:347 # Path implementation realdirpath
rspec ./spec/epath/implementation_spec.rb:644 # Path implementation lchmod
rspec ./spec/epath/implementation_spec.rb:672 # Path implementation lchown
rspec ./spec/epath/implementation_spec.rb:734 # Path implementation readlink
rspec ./spec/epath/implementation_spec.rb:753 # Path implementation lstat
rspec ./spec/epath/implementation_spec.rb:764 # Path implementation make_symlink
rspec ./spec/epath/implementation_spec.rb:837 # Path implementation grpowned?
rspec ./spec/epath/implementation_spec.rb:877 # Path implementation world_readable?
rspec ./spec/epath/implementation_spec.rb:926 # Path implementation world_writable?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment