git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] t9600: test cvsimport from CVS working tree

From
Jeff King <peff@peff.net>
Date
Dec 2, 2007, 17:22 UTC
Message-ID
<20071202172219.GA7812@coredump.intra.peff.net>
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
Message 1 of 1 in “t9600: test cvsimport from CVS working tree”
  1. t9600: test cvsimport from CVS working treeJeff King, Dec 2, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.