Skip to content

Commit e342acc

Browse files
tboegipeff
authored andcommitted
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 <[email protected]> Signed-off-by: Jeff King <[email protected]>
1 parent 7e20105 commit e342acc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t9200-git-cvsexportcommit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ then
1919
test_done
2020
fi
2121

22-
CVSROOT=$PWD/cvsroot
22+
CVSROOT=$PWD/tmpcvsroot
2323
CVSWORK=$PWD/cvswork
2424
GIT_DIR=$PWD/.git
2525
export CVSROOT CVSWORK GIT_DIR

0 commit comments

Comments
 (0)