Commit fd318f7
committed
Fix remaining JRuby + Windows rubygems test failures
assert_self_install_permissions' ensure block calls File.chmod with
a splatted Dir.glob result; when the omit short-circuits the body,
the glob is empty and JRuby (unlike CRuby) rejects a chmod with no
paths. Guard the ensure to skip when no files were created.
test_generate_bin_symlink_win32 and test_generate_bin_with_dangling_symlink
fall into the "Unable to use symlinks" wrapper branch only when
symlink_supported? is false, but the installer on JRuby/Windows still
manages to create the symlink, so the expected warning never appears.
Omit them on the combo.1 parent 321782d commit fd318f7
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
| 205 | + | |
205 | 206 | | |
206 | 207 | | |
207 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
692 | | - | |
693 | 692 | | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
694 | 697 | | |
695 | 698 | | |
696 | 699 | | |
| |||
743 | 746 | | |
744 | 747 | | |
745 | 748 | | |
| 749 | + | |
| 750 | + | |
746 | 751 | | |
747 | 752 | | |
748 | 753 | | |
| |||
0 commit comments