git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[patch] Insulate cvsimport test from CVSREAD=1

From
TNThien-Thi Nguyen <ttn@gnuvola.org>
Date
Mar 15, 2008, 08:57 UTC
Message-ID
<87lk4kl5z6.fsf@ambire.localdomain>

This small patch allows "make test" to finish successfully, at least according to Git 1.5.4.4.

thi
________________________________________________________
commit 7b25916f06c80cd5fa889840195dcf8efd1bee66
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
Date:   Sat Mar 15 09:52:12 2008 +0100
    Insulate cvsimport test from CVSREAD=1
    
    * t/t9600-cvsimport.sh: Unset env var CVSREAD.
    
    Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org>
diff --git a/t/t9600-cvsimport.sh b/t/t9600-cvsimport.sh
index 7706430..fdbe474 100755
--- a/t/t9600-cvsimport.sh
+++ b/t/t9600-cvsimport.sh
@@ -28,6 +28,8 @@ esac
 
 CVSROOT=$(pwd)/cvsroot
 export CVSROOT
+# prevent cvs from making files read-only
+unset CVSREAD
 # for clean cvsps cache
 HOME=$(pwd)
 export HOME
Message 1 of 1 in “Insulate cvsimport test from CVSREAD=1”
  1. Insulate cvsimport test from CVSREAD=1Thien-Thi Nguyen, Mar 15, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.