mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[bundler/bundler] Skip specs using Process.fork
on Windows
https://github.com/bundler/bundler/commit/ebcb25a3c3
This commit is contained in:
parent
d7487d6c08
commit
51aaed128a
1 changed files with 6 additions and 0 deletions
|
@ -218,6 +218,8 @@ RSpec.describe "Bundler.with_env helpers" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "runs exec inside with_original_env" do
|
it "runs exec inside with_original_env" do
|
||||||
|
skip "Fork not implemented" if Gem.win_platform?
|
||||||
|
|
||||||
lib = File.expand_path("../../lib", __dir__)
|
lib = File.expand_path("../../lib", __dir__)
|
||||||
system({ "BUNDLE_FOO" => "bar" }, "ruby -I#{lib} -rbundler -e '#{code}'")
|
system({ "BUNDLE_FOO" => "bar" }, "ruby -I#{lib} -rbundler -e '#{code}'")
|
||||||
expect($?.exitstatus).to eq(0)
|
expect($?.exitstatus).to eq(0)
|
||||||
|
@ -238,6 +240,8 @@ RSpec.describe "Bundler.with_env helpers" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "runs exec inside with_clean_env" do
|
it "runs exec inside with_clean_env" do
|
||||||
|
skip "Fork not implemented" if Gem.win_platform?
|
||||||
|
|
||||||
lib = File.expand_path("../../lib", __dir__)
|
lib = File.expand_path("../../lib", __dir__)
|
||||||
system({ "BUNDLE_FOO" => "bar" }, "ruby -I#{lib} -rbundler -e '#{code}'")
|
system({ "BUNDLE_FOO" => "bar" }, "ruby -I#{lib} -rbundler -e '#{code}'")
|
||||||
expect($?.exitstatus).to eq(1)
|
expect($?.exitstatus).to eq(1)
|
||||||
|
@ -258,6 +262,8 @@ RSpec.describe "Bundler.with_env helpers" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "runs exec inside with_clean_env" do
|
it "runs exec inside with_clean_env" do
|
||||||
|
skip "Fork not implemented" if Gem.win_platform?
|
||||||
|
|
||||||
lib = File.expand_path("../../lib", __dir__)
|
lib = File.expand_path("../../lib", __dir__)
|
||||||
system({ "BUNDLE_FOO" => "bar" }, "ruby -I#{lib} -rbundler -e '#{code}'")
|
system({ "BUNDLE_FOO" => "bar" }, "ruby -I#{lib} -rbundler -e '#{code}'")
|
||||||
expect($?.exitstatus).to eq(1)
|
expect($?.exitstatus).to eq(1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue