aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-12-02 11:00:45 -0800
committerJunio C Hamano <gitster@pobox.com>2007-12-02 11:00:45 -0800
commitada59fcd3230e661bc1110702a2fb4ef76371bc1 (patch)
treea700bdf88015f1cbfcccaf4e006f8847a4bc8025 /t
parent1c46ab1fada6eb449336a624995293cdd74f2b08 (diff)
parent4e596e988abfd7ce0b4456cdbf27baa16fa7aab8 (diff)
downloadgit-ada59fcd3230e661bc1110702a2fb4ef76371bc1.tar.gz
git-ada59fcd3230e661bc1110702a2fb4ef76371bc1.tar.xz
Merge branch 'maint'
* maint: t9600: test cvsimport from CVS working tree
Diffstat (limited to 't')
-rwxr-xr-xt/t9600-cvsimport.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/t9600-cvsimport.sh b/t/t9600-cvsimport.sh
index 29fee2dd1..08f0f2a3a 100755
--- a/t/t9600-cvsimport.sh
+++ b/t/t9600-cvsimport.sh
@@ -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