diff options
author | Torsten Bögershausen <tboegi@web.de> | 2012-10-26 18:18:24 +0200 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2012-10-28 07:50:24 -0400 |
commit | e342acc678219ff5451998a6b79aa018fb69533b (patch) | |
tree | 32f25f5498e80c3d88457c7b4cc568d55f64eff6 | |
parent | 7e2010537e96d0a1144520222f20ba1dc3d61441 (diff) | |
download | git-e342acc678219ff5451998a6b79aa018fb69533b.tar.gz git-e342acc678219ff5451998a6b79aa018fb69533b.tar.xz |
Fix t9200 on case insensitive file systems
t9200 defines $CVSROOT where cvs should init its repository
$CVSROOT is set to $PWD/cvsroot.
cvs init is supposed to create the repository inside $PWD/cvsroot/CVSROOT
"cvs init" (e.g. version 1.11.23) checks if the last element of the path is
"CVSROOT", and if a directory with e.g. $PWD/cvsroot/CVSROOT already exists.
For such a $CVSROOT cvs refuses to init a repository here:
"Cannot initialize repository under existing CVSROOT:
On a case insenstive file system cvsroot and CVSROOT are the same directories
and t9200 fails.
Solution: use $PWD/tmpcvsroot instead of cvsroot $PWD/cvsroot
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Jeff King <peff@peff.net>
-rwxr-xr-x | t/t9200-git-cvsexportcommit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh index b59be9a89..69934b2e7 100755 --- a/t/t9200-git-cvsexportcommit.sh +++ b/t/t9200-git-cvsexportcommit.sh @@ -19,7 +19,7 @@ then test_done fi -CVSROOT=$PWD/cvsroot +CVSROOT=$PWD/tmpcvsroot CVSWORK=$PWD/cvswork GIT_DIR=$PWD/.git export CVSROOT CVSWORK GIT_DIR |