[lfs] branch trunk updated: vim: Remove tests requiring curl or vim

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <173788386803.21297.11745505649952106696@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 50a0916de vim: Remove tests requiring curl or vim
50a0916de is described below

commit 50a0916dea503c04dcdb3f7979e14afc568c4917
Author: Xi Ruoyao <[email protected]>
AuthorDate: Sun Jan 26 17:30:01 2025 +0800

    vim: Remove tests requiring curl or vim
    
    Since vim-9.1.0859, some tests need curl or wget or they fail.
---
 chapter08/vim.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/chapter08/vim.xml b/chapter08/vim.xml
index 2ed5cf238..3da3bc4b6 100644
--- a/chapter08/vim.xml
+++ b/chapter08/vim.xml
@@ -64,9 +64,11 @@
 
     <para>To prepare the tests, ensure that user
     <systemitem class="username">tester</systemitem> can write
-    to the source tree:</para>
+    to the source tree and exclude one file containing tests requiring
+    <command>curl</command> or <command>wget</command>:</para>
 
-<screen><userinput remap="test">chown -R tester .</userinput></screen>
+<screen><userinput remap="test">chown -R tester .
+sed '/test_glvs/d' -i src/testdir/Make_all.mak</userinput></screen>
 
     <para>Now run the tests as user <systemitem
     class="username">tester</systemitem>:</para>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.