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>
Jeff King committed
Dec 2, 2007 at 12:22 UTC
4e596e988abfd7ce0b4456cdbf27baa16fa7aab8
1 file changed
+12
t/t9600-cvsimport.sh
+12
@@ -119,4 +119,16 @@ test_expect_success 'cvsimport.module config works' '
119
120
'
121
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
+
134
test_done