skip some tests on vboxsf.
* spec/rubyspec/command_line/dash_upper_s_spec.rb: git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
15cb9817a2
commit
95d3671e94
@ -6,6 +6,11 @@ describe 'The -S command line option' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
platform_is_not :windows do
|
platform_is_not :windows do
|
||||||
|
# On VirtualBox shared directory (vboxsf) all files are world writable
|
||||||
|
# and MRI shows warning when including world writable path in ENV['PATH'].
|
||||||
|
# This warning fails the following tests.
|
||||||
|
unless FileTest.world_writable?(fixture(__FILE__, "bin"))
|
||||||
|
|
||||||
it "runs launcher found in PATH, but only code after the first /\#!.*ruby.*/-ish line in target file" do
|
it "runs launcher found in PATH, but only code after the first /\#!.*ruby.*/-ish line in target file" do
|
||||||
result = ruby_exe(nil, options: '-S hybrid_launcher.sh', env: { 'PATH' => @path }, args: '2>&1')
|
result = ruby_exe(nil, options: '-S hybrid_launcher.sh', env: { 'PATH' => @path }, args: '2>&1')
|
||||||
result.should == "success\n"
|
result.should == "success\n"
|
||||||
@ -17,3 +22,4 @@ describe 'The -S command line option' do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user