{"thread":{"id":"32454","subject":"[PATCH] t9200: let \"cvs init\" create the test repository","startedAt":"2012-12-25T01:09:49Z","lastAt":"2012-12-25T01:49:37Z","messageCount":2,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"205481","messageId":"7vr4mflyxu.fsf@alter.siamese.dyndns.org","threadId":"32454","inReplyTo":null,"subject":"[PATCH] t9200: let \"cvs init\" create the test repository","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-12-25T01:09:49Z","receivedAt":"2012-12-25T01:09:49Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Some platforms (e.g. NetBSD 6.3) seem to configure their CVS to\nallow \"cvs init\" in an existing directory only to members of\n\"cvsadmin\".\n\nInstead of preparing an empty directory and then running \"cvs init\"\non it, let's run \"cvs init\" and let it create the necessary\ndirectory.\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>\n---\n t/t9200-git-cvsexportcommit.sh | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)\n\ndiff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh\nindex b59be9a..c5368a3 100755\n--- a/t/t9200-git-cvsexportcommit.sh\n+++ b/t/t9200-git-cvsexportcommit.sh\n@@ -25,8 +25,9 @@ GIT_DIR=$PWD/.git\n export CVSROOT CVSWORK GIT_DIR\n \n rm -rf \"$CVSROOT\" \"$CVSWORK\"\n-mkdir \"$CVSROOT\" &&\n+\n cvs init &&\n+test -d \"$CVSROOT\" &&\n cvs -Q co -d \"$CVSWORK\" . &&\n echo >empty &&\n git add empty &&\n"},{"id":"205483","messageId":"7vmwx2nbny.fsf@alter.siamese.dyndns.org","threadId":"32454","inReplyTo":"7vr4mflyxu.fsf@alter.siamese.dyndns.org","subject":"Re: [PATCH] t9200: let \"cvs init\" create the test repository","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-12-25T01:49:37Z","receivedAt":"2012-12-25T01:49:37Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Junio C Hamano <gitster@pobox.com> writes:\n\n> Some platforms (e.g. NetBSD 6.3) seem to configure their CVS to\n\ns/6.3/6.0/; sorry for the noise.\n"}]}