]> asedeno.scripts.mit.edu Git - git.git/commitdiff
t9600: test cvsimport from CVS working tree
authorJeff King <peff@peff.net>
Sun, 2 Dec 2007 17:22:19 +0000 (12:22 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Dec 2007 18:59:59 +0000 (10:59 -0800)
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>
t/t9600-cvsimport.sh

index 29fee2dd13c6826338e92bf6e61cc39b057da444..08f0f2a3a34d4d5e3bf45216f5d824854894f2f1 100755 (executable)
@@ -119,4 +119,16 @@ test_expect_success 'cvsimport.module config works' '
 
 '
 
+test_expect_success 'import from a CVS working tree' '
+
+       cvs co -d import-from-wt module &&
+       cd import-from-wt &&
+               git cvsimport -a -z0 &&
+               echo 1 >expect &&
+               git log -1 --pretty=format:%s%n >actual &&
+               git diff actual expect &&
+       cd ..
+
+'
+
 test_done