From 3ac90f92a0ba147e555a548e2bd077f5533b7a8c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 6 Apr 2022 22:56:07 +0300 Subject: [PATCH] gnu: vim: Update to 8.2.4701. * gnu/packages/vim.scm (vim): Update to 8.2.4701. [arguments]: Adjust custom 'skip-or-fix-failing-tests phase to skip another test. --- gnu/packages/vim.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index bc5e36c6f2..7279798fe6 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -77,7 +77,7 @@ (define-public vim (package (name "vim") - (version "8.2.4564") + (version "8.2.4701") (source (origin (method git-fetch) (uri (git-reference @@ -86,7 +86,7 @@ (file-name (git-file-name name version)) (sha256 (base32 - "1ggvmvd6xsj9xvknjcvpj52na2km2wxvxfj8l29mqp03g4wwyzrr")))) + "0yqqzai3ihfjjjjmn50pxlcqllpkmlrf5z59ma5rn0gv8wwwdw7h")))) (build-system gnu-build-system) (arguments `(#:test-target "test" @@ -118,6 +118,11 @@ (setenv "TERM" "xterm"))) (add-before 'check 'skip-or-fix-failing-tests (lambda _ + ;; This test failure is shared between BSD and Guix. + (with-fluids ((%default-port-encoding #f)) + (substitute* "src/testdir/test_writefile.vim" + (("!has\\('bsd'\\)") "0"))) + ;; This test assumes that PID 1 is run as root and that the user ;; running the test suite does not have permission to kill(1, 0) ;; it. This is not true in the build container, where both PID 1