mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
spec: disable part of require_relative spec where uses symlink for WASI
cap-std, an underlying sandbox implementation of WASI in wasmtime, doesn't
allow to create a symlink to an absolute path to enforce sandbox restriction.
See also: 257867a1d3
This commit is contained in:
parent
d06f787e9f
commit
e499d32689
Notes:
git
2022-03-17 12:26:43 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ describe "Kernel#require_relative with a relative path" do
|
||||||
$LOADED_FEATURES.should include(@abs_path)
|
$LOADED_FEATURES.should include(@abs_path)
|
||||||
end
|
end
|
||||||
|
|
||||||
platform_is_not :windows do
|
platform_is_not :windows, :wasi do
|
||||||
describe "with symlinks" do
|
describe "with symlinks" do
|
||||||
before :each do
|
before :each do
|
||||||
@symlink_to_code_dir = tmp("codesymlink")
|
@symlink_to_code_dir = tmp("codesymlink")
|
||||||
|
|
Loading…
Add table
Reference in a new issue