summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-09-06 16:47:32 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-09-06 16:47:32 -0700
commit4a09bc966449ca0a7e9a5bb70f91b47debdd7c4e (patch)
treee5bfb6f6467031660b19a3afeb51cbd732664342 /t
parentMerge branch 'jc/maint-log-grep' (diff)
parentUpdate draft release notes for 1.6.0.2 (diff)
downloadtgif-4a09bc966449ca0a7e9a5bb70f91b47debdd7c4e.tar.xz
Merge branch 'maint'
* maint: Update draft release notes for 1.6.0.2 stash: refresh the index before deciding if the work tree is dirty Mention the fact that 'git annotate' is only for backward compatibility. "blame -c" should be compatible with "annotate" git-gui: Fix diff parsing for lines starting with "--" or "++" git-gui: Fix string escaping in po2msg.sh git gui: show diffs with a minimum of 1 context line git-gui: update all remaining translations to French. git-gui: Update french translation
Diffstat (limited to 't')
-rwxr-xr-xt/t9400-git-cvsserver-server.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/t9400-git-cvsserver-server.sh b/t/t9400-git-cvsserver-server.sh
index 4b91f8d4c4..c1850d2923 100755
--- a/t/t9400-git-cvsserver-server.sh
+++ b/t/t9400-git-cvsserver-server.sh
@@ -488,4 +488,17 @@ test_expect_success 'cvs co -c (shows module database)' '
! grep -v "^master[ ]\+master$" < out
'
+#------------
+# CVS ANNOTATE
+#------------
+
+cd "$WORKDIR"
+test_expect_success 'cvs annotate' '
+ cd cvswork &&
+ GIT_CONFIG="$git_config" cvs annotate merge >../out &&
+ sed -e "s/ .*//" ../out >../actual &&
+ for i in 3 1 1 1 1 1 1 1 2 4; do echo 1.$i; done >../expect &&
+ test_cmp ../expect ../actual
+'
+
test_done