Skip to content

Instantly share code, notes, and snippets.

@ratnikov
Created December 5, 2014 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ratnikov/d50150730970b7b67564 to your computer and use it in GitHub Desktop.
Save ratnikov/d50150730970b7b67564 to your computer and use it in GitHub Desktop.
Failures running bin/jruby test/test_file.rb
$ bin/jruby test/test_file.rb
Run options:
# Running tests:
...FE............F................F.test/test_file.rb:747 warning: executable? does not in this environment and will return a dummy value
..F..................F.......test/test_file.rb:761 warning: executable? does not in this environment and will return a dummy value
ln: failed to create symbolic link ‘linked_file.rb’: File exists
E.....FF.
Finished tests in 9.598000s, 7.7099 tests/s, 35.6324 assertions/s.
1) Failure:
test_chmod_when_chdir(TestFile) [test/test_file.rb:1163]:
<493> expected but was
<420>.
2) Error:
test_chown_accepts_nil_and_minus_one(TestFile):
SystemCallError: Unknown error - No message available
org/jruby/RubyFile.java:623:in `chown'
test/test_file.rb:936:in `test_chown_accepts_nil_and_minus_one'
3) Failure:
test_file_directory_empty_name(TestFile) [test/test_file.rb:894]:
[Errno::ENOENT] exception expected, not
Class: <SystemCallError>
Message: <"Unknown error - Unknown Error (0) - ">
---Backtrace---
org/jruby/RubyFileStat.java:132:in `initialize'
test/test_file.rb:894:in `test_file_directory_empty_name'
---------------
4) Failure:
test_file_stat_uri_prefixes(TestFile) [test/test_file.rb:623]:
[Errno::ENOENT] exception expected, not
Class: <SystemCallError>
Message: <"Unknown error - Unknown Error (0) - file:">
---Backtrace---
org/jruby/RubyFile.java:842:in `lstat'
test/test_file.rb:624:in `test_file_stat_uri_prefixes'
---------------
5) Failure:
test_file_time_uri_prefixes(TestFile) [test/test_file.rb:640]:
[Errno::ENOENT] exception expected, not
Class: <SystemCallError>
Message: <"Unknown error - Unknown Error (0) - file:">
---Backtrace---
org/jruby/RubyFile.java:854:in `atime'
test/test_file.rb:641:in `test_file_time_uri_prefixes'
---------------
6) Failure:
test_mode_of_tempfile_is_600(TestFile) [test/test_file.rb:1009]:
<33152> expected but was
<33188>.
7) Error:
test_require_symlink(TestFile):
Errno::ENOENT: No such file or directory - linked_file.rb
org/jruby/RubyFile.java:1081:in `unlink'
test/test_file.rb:777:in `__ensure__'
8) Failure:
test_umask_noarg_does_not_zero(TestFile) [test/test_file.rb:961]:
<128> expected but was
<0>.
9) Failure:
test_umask_respects_existing_umask_value(TestFile) [test/test_file.rb:975]:
<122> expected but was
<0>.
74 tests, 342 assertions, 7 failures, 2 errors, 0 skips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment