# [patch] Insulate cvsimport test from CVSREAD=1

1 messages from 2008-03-15 to 2008-03-15. Participants: Thien-Thi Nguyen.
Thread: https://gitlist.dev/t/12704

## Thien-Thi Nguyen, 2008-03-15 08:57

Subject: [patch] Insulate cvsimport test from CVSREAD=1
Message-ID: <87lk4kl5z6.fsf@ambire.localdomain>
URL: https://gitlist.dev/e/87lk4kl5z6.fsf%40ambire.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

```
