зеркало из https://github.com/microsoft/git.git
Merge branch 'jc/test-cvs-no-init-in-existing-dir'
t9200 runs "cvs init" on a directory that already exists, but a platform can configure this fail for the current user (e.g. you need to be in the cvsadmin group on NetBSD 6.0). * jc/test-cvs-no-init-in-existing-dir: t9200: let "cvs init" create the test repository
This commit is contained in:
Коммит
3fce9a1edd
|
@ -25,8 +25,9 @@ GIT_DIR=$PWD/.git
|
||||||
export CVSROOT CVSWORK GIT_DIR
|
export CVSROOT CVSWORK GIT_DIR
|
||||||
|
|
||||||
rm -rf "$CVSROOT" "$CVSWORK"
|
rm -rf "$CVSROOT" "$CVSWORK"
|
||||||
mkdir "$CVSROOT" &&
|
|
||||||
cvs init &&
|
cvs init &&
|
||||||
|
test -d "$CVSROOT" &&
|
||||||
cvs -Q co -d "$CVSWORK" . &&
|
cvs -Q co -d "$CVSWORK" . &&
|
||||||
echo >empty &&
|
echo >empty &&
|
||||||
git add empty &&
|
git add empty &&
|
||||||
|
|
Загрузка…
Ссылка в новой задаче