Subject: 3 failures on test t9100 (svn)

From: Nicolas Sebrecht <[email-masked]>
Date: Tue, 2 Mar 2010 20:45:18 +0100

Hi all,

Some tests in t9100 don't pass here with current next (full log
attached). Any idea?

  $ git --version
  git version 1.7.0.1.242.g4aa8

  $ cat test_done-689
  total 23
  success 19
  fixed 0
  broken 0
  failed 3

  $ export GIT_TEST_OPTS='-i -v -d'
  $ make clean && make full-svn-test
  Initialized empty Git repository in /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/
  * define NO_SVN_TESTS to skip git svn tests
  * UTF-8 locale not set, some tests skipped (C)
  
  <...>
  
  * expecting success: 
  	echo git help > help || true &&
  	rm exec-2.sh &&
  	cp help exec-2.sh &&
  	git update-index exec-2.sh &&
  	git commit -m "$name" &&
  	git svn set-tree --find-copies-harder --rmdir \
  		${remotes_git_svn}..mybranch5 &&
  	svn_cmd up "$SVN_TREE" &&
  	test -f "$SVN_TREE"/exec-2.sh &&
  	test ! -L "$SVN_TREE"/exec-2.sh &&
  	test_cmp help "$SVN_TREE"/exec-2.sh
  [mybranch5 da8c65b] modify a symlink to become a file
   Author: A U Thor <[email-masked]>
   1 files changed, 1 insertions(+), 1 deletions(-)
   rewrite exec-2.sh (100%)
   mode change 120000 => 100644
  	T	exec-2.sh
  	M	exec-2.sh
  r7 = 029215de766ed32ca649230497785d0c2b25cdce (refs/remotes/git-svn)
  Done committing 1 revisions to SVN
  UU   /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/exec-2.sh
  Updated to revision 7.
  test_cmp:1: command not found: diff -u
  * FAIL 13: modify a symlink to become a file
  	
  		echo git help > help || true &&
  		rm exec-2.sh &&
  		cp help exec-2.sh &&
  		git update-index exec-2.sh &&
  		git commit -m "$name" &&
  		git svn set-tree --find-copies-harder --rmdir \
  			${remotes_git_svn}..mybranch5 &&
  		svn_cmd up "$SVN_TREE" &&
  		test -f "$SVN_TREE"/exec-2.sh &&
  		test ! -L "$SVN_TREE"/exec-2.sh &&
  		test_cmp help "$SVN_TREE"/exec-2.sh
  
  <...>
  
  * expecting success: git svn init "$svnrepo" && git svn fetch &&
       git rev-list --pretty=raw ${remotes_git_svn} | grep ^tree | uniq > a &&
       git rev-list --pretty=raw remotes/alt | grep ^tree | uniq > b &&
       test_cmp a b
  Using existing [svn-remote "svn"]
  	A	foo.link
  	A	foo
  	A	bar/zzz
  	A	exec.sh
  	A	dir/a/b/c/d/e/file
  r1 = 7573d34cdf10b5542f8caa5298e01b279338e333 (refs/remotes/alt)
  	A	file
  	D	dir/a/b/c/d/e/file
  	D	dir/a/
  	A	dir/file
  W: -empty_dir: dir/a
  r2 = c7cb7b4d4365180d5e8008b247efba7cbb2613a3 (refs/remotes/alt)
  	M	exec.sh
  r3 = 5d528b2954a387fb4804137ab6fd20829a90a21c (refs/remotes/alt)
  	M	exec.sh
  r4 = 8b00511e65ab590e00babc4b5fd2cca88dd68202 (refs/remotes/alt)
  	M	exec.sh
  r5 = 2c3498c0659fcec8db0fb11901f22b604d63aef4 (refs/remotes/alt)
  	M	bar/zzz
  	A	exec-2.sh
  r6 = 81736e5906738e41761c795e49f99743f1c00244 (refs/remotes/alt)
  	M	exec-2.sh
  r7 = 5098d81d13fd07e451327a52f22da679ab7c3b9f (refs/remotes/alt)
  test_cmp:1: command not found: diff -u
  * FAIL 15: test fetch functionality (svn => git) with alternate GIT_SVN_ID
  	git svn init "$svnrepo" && git svn fetch &&
  	     git rev-list --pretty=raw ${remotes_git_svn} | grep ^tree | uniq > a &&
  	     git rev-list --pretty=raw remotes/alt | grep ^tree | uniq > b &&
  	     test_cmp a b
  
  * expecting success: test_cmp a expected
  test_cmp:1: command not found: diff -u
  * FAIL 16: check imported tree checksums expected tree checksums
  	test_cmp a expected
  
  <...>
  
  * failed 3 among 23 test(s)

-- 
Nicolas Sebrecht