[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27893] [PATCH] gnu: julia: Work around some test failures related t
From: |
Ludovic Courtès |
Subject: |
[bug#27893] [PATCH] gnu: julia: Work around some test failures related to libgit2. |
Date: |
Tue, 01 Aug 2017 11:46:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hi Leo,
Leo Famulari <address@hidden> skribis:
> * gnu/packages/version-control.scm (libgit2-0.25): New variable.
> * gnu/packages/julia.scm (julia)[inputs]: Replace LIBGIT2 with LIBGIT2-0.25.
> * gnu/packages/patches/libgit2-use-after-free.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add it.
Sorry for not noticing the breakage! I wonder if it would be
easier/safer to fix Julia than to keep the old libgit2.
Does this upstream commit fix the failures that you saw?
commit 782460f9bab4af35097c13c4dbab61cb263490b9
Author: Milan Bouchet-Valat <address@hidden>
Date: Tue Jul 11 10:02:32 2017 +0200
Fix libgit2 test failure with system libgit2 and OpenSSL (#22722)
The first letter of the error message is in lowercase in some systems,
notably Fedora Rawhide with libgit2 0.26 and OpenSSL 1.1.0f.
diff --git a/test/libgit2.jl b/test/libgit2.jl
index d7e32d21a9..f5104e9ec7 100644
--- a/test/libgit2.jl
+++ b/test/libgit2.jl
@@ -1905,7 +1905,8 @@ mktempdir() do dir
deserialize(f)
end
@test err.code == LibGit2.Error.ECERTIFICATE
- @test startswith(err.msg, "The SSL certificate is invalid")
+ @test startswith(lowercase(err.msg),
+ lowercase("The SSL certificate is
invalid"))
rm(errfile)
Ludo’.
- [bug#27893] [PATCH] gnu: julia: Work around some test failures related to libgit2.,
Ludovic Courtès <=