From: Eric Wong Date: Thu, 28 Dec 2006 09:10:52 +0000 (-0800) Subject: t9200-git-cvsexportcommit.sh: quiet down commit X-Git-Tag: v1.5.0-rc1~169 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e32139aa0e8bea9f976baee2c484d96add37623c;p=git.git t9200-git-cvsexportcommit.sh: quiet down commit Also, fixed an unportable use of 'export'. Signed-off-by: Eric Wong Signed-off-by: Junio C Hamano --- diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh index ca0513b16..315119abf 100755 --- a/t/t9200-git-cvsexportcommit.sh +++ b/t/t9200-git-cvsexportcommit.sh @@ -14,16 +14,18 @@ then exit fi -export CVSROOT=$(pwd)/cvsroot -export CVSWORK=$(pwd)/cvswork +CVSROOT=$(pwd)/cvsroot +CVSWORK=$(pwd)/cvswork +GIT_DIR=$(pwd)/.git +export CVSROOT CVSWORK GIT_DIR + rm -rf "$CVSROOT" "$CVSWORK" mkdir "$CVSROOT" && cvs init && cvs -Q co -d "$CVSWORK" . && -export GIT_DIR=$(pwd)/.git && echo >empty && git add empty && -git commit -a -m "Initial" 2>/dev/null || +git commit -q -a -m "Initial" 2>/dev/null || exit 1 test_expect_success \