1
0
Fork 0
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:
Yuta Saito 2022-02-28 02:55:54 +00:00
parent d06f787e9f
commit e499d32689
Notes: git 2022-03-17 12:26:43 +09:00

View file

@ -207,7 +207,7 @@ describe "Kernel#require_relative with a relative path" do
$LOADED_FEATURES.should include(@abs_path)
end
platform_is_not :windows do
platform_is_not :windows, :wasi do
describe "with symlinks" do
before :each do
@symlink_to_code_dir = tmp("codesymlink")