git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] t9600: test cvsimport from CVS working tree
@ 2007-12-02 17:22 Jeff King
  0 siblings, 0 replies; only message in thread
From: Jeff King @ 2007-12-02 17:22 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

This test passes with v1.5.3.7, but not with v1.5.3.6.

Signed-off-by: Jeff King <peff@peff.net>
---
I wrote this to investigate a reported bug (which turned out
to be fixed by the recent cvsimport patches). No bug to fix,
but I think it's a good test to have in general.

 t/t9600-cvsimport.sh |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/t/t9600-cvsimport.sh b/t/t9600-cvsimport.sh
index 29fee2d..08f0f2a 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
-- 
1.5.3.6.2094.g0ce9a-dirty

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-02 17:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-02 17:22 [PATCH] t9600: test cvsimport from CVS working tree Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).