summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e78f69a)
raw | patch | inline | side by side (parent: e78f69a)
author | Damien Diederen <dash@foobox.net> | |
Thu, 27 Mar 2008 22:18:23 +0000 (23:18 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 27 Mar 2008 23:05:27 +0000 (16:05 -0700) |
Signed-off-by: Damien Diederen <dash@foobox.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9400-git-cvsserver-server.sh | patch | blob | history |
index 616832407f48bae9cc94cf8ef71fe68da0887c18..166b43f783517debf1de716aed4c1952ab1fea4b 100755 (executable)
GIT_CONFIG="$git_config" cvs -Q update &&
diff -q merge ../merge'
+cd "$WORKDIR"
+test_expect_success 'cvs update (-p)' '
+ touch really-empty &&
+ echo Line 1 > no-lf &&
+ echo -n Line 2 >> no-lf &&
+ git add really-empty no-lf &&
+ git commit -q -m "Update -p test" &&
+ git push gitcvs.git >/dev/null &&
+ cd cvswork &&
+ GIT_CONFIG="$git_config" cvs update &&
+ rm -f failures &&
+ for i in merge no-lf empty really-empty; do
+ GIT_CONFIG="$git_config" cvs update -p "$i" >$i.out
+ diff $i.out ../$i >>failures 2>&1
+ done &&
+ test -z "$(cat failures)"
+'
+
#------------
# CVS STATUS
#------------