threads / patch / 12704

patchInsulate cvsimport test from CVSREAD=1

Subject: [patch] Insulate cvsimport test from CVSREAD=1

## tl;dr

One message between Mar 15, 2008 and Mar 15, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Thien-Thi Nguyen· Mar 15, 2008, 08:57 UTC · lore

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>
Show changes to t/t9600-cvsimport.sh +2 −0
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

← back to recent threads