Skip to content

Commit 4e596e9

Browse files
peffgitster
authored andcommitted
t9600: test cvsimport from CVS working tree
This test passes with v1.5.3.7, but not with v1.5.3.6. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 1d55735 commit 4e596e9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

t/t9600-cvsimport.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,16 @@ test_expect_success 'cvsimport.module config works' '
119119
120120
'
121121

122+
test_expect_success 'import from a CVS working tree' '
123+
124+
cvs co -d import-from-wt module &&
125+
cd import-from-wt &&
126+
git cvsimport -a -z0 &&
127+
echo 1 >expect &&
128+
git log -1 --pretty=format:%s%n >actual &&
129+
git diff actual expect &&
130+
cd ..
131+
132+
'
133+
122134
test_done

0 commit comments

Comments
 (0)