]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t9600-cvsimport.sh
cvsimport: fix usage of cvsimport.module
[git.git] / t / t9600-cvsimport.sh
index 3338d447c5b7b43ac274e6966ee693611f5e8056..29fee2dd13c6826338e92bf6e61cc39b057da444 100755 (executable)
@@ -98,4 +98,25 @@ test_expect_success 'update git module' '
 
 '
 
+test_expect_success 'update cvs module' '
+
+       cd module-cvs &&
+               echo 1 >tick &&
+               cvs add tick &&
+               cvs commit -m 1
+       cd ..
+
+'
+
+test_expect_success 'cvsimport.module config works' '
+
+       cd module-git &&
+               git config cvsimport.module module &&
+               git cvsimport -a -z0 &&
+               git merge origin &&
+       cd .. &&
+       git diff module-cvs/tick module-git/tick
+
+'
+
 test_done