summaryrefslogtreecommitdiff
path: root/lang/julia/files/patch-test_file.jl
diff options
context:
space:
mode:
authorHiroo Ono <hiroo.ono+freebsd@gmail.com>2025-05-14 19:27:31 +0200
committerThierry Thomas <thierry@FreeBSD.org>2025-05-18 18:42:44 +0200
commit7c2e16a817f9591ba3d11416372ce79c501b80a9 (patch)
tree3904f888fc50ba9acbcf73641f66a08262589a23 /lang/julia/files/patch-test_file.jl
parentmath/lcalc: drop maintainership (diff)
lang/julia: update to 1.10.5
Release notes at https://discourse.julialang.org/t/julia-v1-10-5-has-been-released/118720 Also: - reorganize some lines to pet portlint - regenerate the patches - don’t depend on suitesparse-config but on UMFPACK (including CHOLMOD) and SPQR - replace mbedtls2 by mbedtls3 and remove deprecation - allow to upgrade gmp and mpfr from Makefile - fix USE_LDCONFIG - apply the patch from PR 286169 - add a pkg-message about certificate error. PR: 281237 + 286169 Reported by: Hiroo Ono <hiroo.ono+freebsd (at) gmail.com> and Trond Endrestøl <Trond.Endrestol (at) ximalas.info>
Diffstat (limited to 'lang/julia/files/patch-test_file.jl')
-rw-r--r--lang/julia/files/patch-test_file.jl11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/julia/files/patch-test_file.jl b/lang/julia/files/patch-test_file.jl
new file mode 100644
index 000000000000..55a77008efa8
--- /dev/null
+++ b/lang/julia/files/patch-test_file.jl
@@ -0,0 +1,11 @@
+--- test/file.jl.orig 2024-08-27 21:19:31 UTC
++++ test/file.jl
+@@ -1628,7 +1628,7 @@ end
+ @test isempty(readdir(join=true))
+ rm(d, recursive=true)
+ @test !ispath(d)
+- @test isempty(readdir())
++ @test_throws Base._UVError("readdir(\".\")", Base.UV_ENOENT) readdir()
+ @test_throws Base._UVError("readdir($(repr(d)))", Base.UV_ENOENT) readdir(d)
+ @test_throws Base._UVError("pwd()", Base.UV_ENOENT) readdir(join=true)
+ end