diff options
Diffstat (limited to 'dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-sandbox.patch')
-rw-r--r-- | dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-sandbox.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-sandbox.patch b/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-sandbox.patch deleted file mode 100644 index 4bd779a834c8..000000000000 --- a/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-sandbox.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff --git a/spec/std/file_spec.cr b/spec/std/file_spec.cr -index 4a08b7d..cb1b28c 100644 ---- a/spec/std/file_spec.cr -+++ b/spec/std/file_spec.cr -@@ -1026,7 +1026,8 @@ describe "File" do - end - end - -- it "raises if file cannot be accessed" do -+ # On linux it's "Permission denied", not "Operation not permitted" -+ pending "raises if file cannot be accessed" do - expect_raises Errno, "Operation not permitted" do - File.touch("/bin/ls") - end -diff --git a/spec/std/process_spec.cr b/spec/std/process_spec.cr -index 4a36f18..0cd63a8 100644 ---- a/spec/std/process_spec.cr -+++ b/spec/std/process_spec.cr -@@ -115,14 +115,16 @@ describe Process do - end - - describe "environ" do -- it "clears the environment" do -+ #gentoo's sandbox keeps sandbox environment -+ pending "clears the environment" do - value = Process.run("env", clear_env: true) do |proc| - proc.output.gets_to_end - end - value.should eq("") - end - -- it "sets an environment variable" do -+ #gentoo's sandbox keeps sandbox environment -+ pending "sets an environment variable" do - env = {"FOO" => "bar"} - value = Process.run("env", clear_env: true, env: env) do |proc| - proc.output.gets_to_end |