{"thread":{"id":"22883","subject":"3 failures on test t9100 (svn)","startedAt":"2010-03-02T19:45:18Z","lastAt":"2010-03-03T21:24:33Z","messageCount":9,"participants":["Nicolas Sebrecht","Jeff King","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"136035","messageId":"20100302194518.GA12942@vidovic","threadId":"22883","inReplyTo":null,"subject":"3 failures on test t9100 (svn)","fromName":"Nicolas Sebrecht","fromEmail":"nicolas.s.dev@gmx.fr","sentAt":"2010-03-02T19:45:18Z","receivedAt":"2010-03-02T19:45:18Z","isPatch":false,"sender":{"key":"nicolas.s.dev@gmx.fr","avatar":null},"body":"Hi all,\n\nSome tests in t9100 don't pass here with current next (full log\nattached). Any idea?\n\n\n  $ git --version\n  git version 1.7.0.1.242.g4aa8\n\n  $ cat test_done-689\n  total 23\n  success 19\n  fixed 0\n  broken 0\n  failed 3\n\n  $ export GIT_TEST_OPTS='-i -v -d'\n  $ make clean && make full-svn-test\n  Initialized empty Git repository in /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/\n  * define NO_SVN_TESTS to skip git svn tests\n  * UTF-8 locale not set, some tests skipped (C)\n  \n  <...>\n  \n  * expecting success: \n  \techo git help > help || true &&\n  \trm exec-2.sh &&\n  \tcp help exec-2.sh &&\n  \tgit update-index exec-2.sh &&\n  \tgit commit -m \"$name\" &&\n  \tgit svn set-tree --find-copies-harder --rmdir \\\n  \t\t${remotes_git_svn}..mybranch5 &&\n  \tsvn_cmd up \"$SVN_TREE\" &&\n  \ttest -f \"$SVN_TREE\"/exec-2.sh &&\n  \ttest ! -L \"$SVN_TREE\"/exec-2.sh &&\n  \ttest_cmp help \"$SVN_TREE\"/exec-2.sh\n  [mybranch5 da8c65b] modify a symlink to become a file\n   Author: A U Thor <author@example.com>\n   1 files changed, 1 insertions(+), 1 deletions(-)\n   rewrite exec-2.sh (100%)\n   mode change 120000 => 100644\n  \tT\texec-2.sh\n  \tM\texec-2.sh\n  r7 = 029215de766ed32ca649230497785d0c2b25cdce (refs/remotes/git-svn)\n  Done committing 1 revisions to SVN\n  UU   /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/exec-2.sh\n  Updated to revision 7.\n  test_cmp:1: command not found: diff -u\n  * FAIL 13: modify a symlink to become a file\n  \t\n  \t\techo git help > help || true &&\n  \t\trm exec-2.sh &&\n  \t\tcp help exec-2.sh &&\n  \t\tgit update-index exec-2.sh &&\n  \t\tgit commit -m \"$name\" &&\n  \t\tgit svn set-tree --find-copies-harder --rmdir \\\n  \t\t\t${remotes_git_svn}..mybranch5 &&\n  \t\tsvn_cmd up \"$SVN_TREE\" &&\n  \t\ttest -f \"$SVN_TREE\"/exec-2.sh &&\n  \t\ttest ! -L \"$SVN_TREE\"/exec-2.sh &&\n  \t\ttest_cmp help \"$SVN_TREE\"/exec-2.sh\n  \n  <...>\n  \n  * expecting success: git svn init \"$svnrepo\" && git svn fetch &&\n       git rev-list --pretty=raw ${remotes_git_svn} | grep ^tree | uniq > a &&\n       git rev-list --pretty=raw remotes/alt | grep ^tree | uniq > b &&\n       test_cmp a b\n  Using existing [svn-remote \"svn\"]\n  \tA\tfoo.link\n  \tA\tfoo\n  \tA\tbar/zzz\n  \tA\texec.sh\n  \tA\tdir/a/b/c/d/e/file\n  r1 = 7573d34cdf10b5542f8caa5298e01b279338e333 (refs/remotes/alt)\n  \tA\tfile\n  \tD\tdir/a/b/c/d/e/file\n  \tD\tdir/a/\n  \tA\tdir/file\n  W: -empty_dir: dir/a\n  r2 = c7cb7b4d4365180d5e8008b247efba7cbb2613a3 (refs/remotes/alt)\n  \tM\texec.sh\n  r3 = 5d528b2954a387fb4804137ab6fd20829a90a21c (refs/remotes/alt)\n  \tM\texec.sh\n  r4 = 8b00511e65ab590e00babc4b5fd2cca88dd68202 (refs/remotes/alt)\n  \tM\texec.sh\n  r5 = 2c3498c0659fcec8db0fb11901f22b604d63aef4 (refs/remotes/alt)\n  \tM\tbar/zzz\n  \tA\texec-2.sh\n  r6 = 81736e5906738e41761c795e49f99743f1c00244 (refs/remotes/alt)\n  \tM\texec-2.sh\n  r7 = 5098d81d13fd07e451327a52f22da679ab7c3b9f (refs/remotes/alt)\n  test_cmp:1: command not found: diff -u\n  * FAIL 15: test fetch functionality (svn => git) with alternate GIT_SVN_ID\n  \tgit svn init \"$svnrepo\" && git svn fetch &&\n  \t     git rev-list --pretty=raw ${remotes_git_svn} | grep ^tree | uniq > a &&\n  \t     git rev-list --pretty=raw remotes/alt | grep ^tree | uniq > b &&\n  \t     test_cmp a b\n  \n  * expecting success: test_cmp a expected\n  test_cmp:1: command not found: diff -u\n  * FAIL 16: check imported tree checksums expected tree checksums\n  \ttest_cmp a expected\n  \n  <...>\n  \n  * failed 3 among 23 test(s)\n\n-- \nNicolas Sebrecht\n\n\nInitialized empty Git repository in /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/\n* define NO_SVN_TESTS to skip git svn tests\n* UTF-8 locale not set, some tests skipped (C)\n* expecting success: \n\tmkdir import &&\n\tcd import &&\n\techo foo > foo &&\n\tln -s foo foo.link\n\tmkdir -p dir/a/b/c/d/e &&\n\techo \"deep dir\" > dir/a/b/c/d/e/file &&\n\tmkdir bar &&\n\techo \"zzz\" > bar/zzz &&\n\techo \"#!/bin/sh\" > exec.sh &&\n\tchmod +x exec.sh &&\n\tsvn_cmd import -m \"import for git svn\" . \"$svnrepo\" >/dev/null &&\n\tcd .. &&\n\trm -rf import &&\n\tgit svn init \"$svnrepo\"\n*   ok 1: initialize git svn\n\n* expecting success: git svn fetch\n\tA\tfoo.link\n\tA\tfoo\n\tA\tbar/zzz\n\tA\texec.sh\n\tA\tdir/a/b/c/d/e/file\nr1 = 7573d34cdf10b5542f8caa5298e01b279338e333 (refs/remotes/git-svn)\nChecked out HEAD:\n  file:///home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/svnrepo r1\n*   ok 2: import an SVN revision into git\n\n* expecting success: svn co \"$svnrepo\" \"$SVN_TREE\"\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/foo.link\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/foo\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/bar\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/bar/zzz\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/exec.sh\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/dir\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/dir/a\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/dir/a/b\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/dir/a/b/c\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/dir/a/b/c/d\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/dir/a/b/c/d/e\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/dir/a/b/c/d/e/file\nChecked out revision 1.\n*   ok 3: checkout from svn\n\n* expecting success: \n\tgit checkout -f -b mybranch ${remotes_git_svn} &&\n\tmv dir/a/b/c/d/e/file dir/file &&\n\tcp dir/file file &&\n\tgit update-index --add --remove dir/a/b/c/d/e/file dir/file file &&\n\tgit commit -m \"$name\" &&\n\tgit svn set-tree --find-copies-harder --rmdir \\\n\t\t${remotes_git_svn}..mybranch &&\n\tsvn_cmd up \"$SVN_TREE\" &&\n\ttest -d \"$SVN_TREE\"/dir && test ! -d \"$SVN_TREE\"/dir/a\nSwitched to a new branch 'mybranch'\n[mybranch 30f6488] try a deep --rmdir with a commit\n Author: A U Thor <author@example.com>\n 2 files changed, 0 insertions(+), 0 deletions(-)\n copy dir/{a/b/c/d/e => }/file (100%)\n rename dir/a/b/c/d/e/file => file (100%)\n\tC\tdir/a/b/c/d/e/file => dir/file\n\tR\tdir/a/b/c/d/e/file => file\n\tD+\tdir/a/b/c/d/e/\n\tD+\tdir/a/b/c/d/\n\tD+\tdir/a/b/c/\n\tD+\tdir/a/b/\n\tD+\tdir/a/\n\tA\tfile\n\tD\tdir/a/b/c/d/e/file\n\tD\tdir/a/\n\tA\tdir/file\nW: -empty_dir: dir/a\nr2 = 3d70444787449738155d0e02b509bc34de5f6f2e (refs/remotes/git-svn)\nDone committing 1 revisions to SVN\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/file\nD    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/dir/a\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/dir/file\nUpdated to revision 2.\n*   ok 4: try a deep --rmdir with a commit\n\n* expecting success: \n\tmkdir dir/new_file &&\n\tmv dir/file dir/new_file/file &&\n\tmv dir/new_file dir/file &&\n\tgit update-index --remove dir/file &&\n\tgit update-index --add dir/file/file &&\n\tgit commit -m 'detect node change from file to directory #1' &&\n\ttest_must_fail git svn set-tree --find-copies-harder --rmdir \t\tremotes/git-svn..mybranch\n[mybranch 21e81e7] detect node change from file to directory #1\n Author: A U Thor <author@example.com>\n 1 files changed, 0 insertions(+), 0 deletions(-)\n rename dir/{ => file}/file (100%)\ndir/file already exists in repository at r2 and it is not a directory (file/1)\n*   ok 5: detect node change from file to directory #1\n\n* expecting success: \n\trm -rf dir \"$GIT_DIR\"/index &&\n\tgit checkout -f -b mybranch2 ${remotes_git_svn} &&\n\tmv bar/zzz zzz &&\n\trm -rf bar &&\n\tmv zzz bar &&\n\tgit update-index --remove -- bar/zzz &&\n\tgit update-index --add -- bar &&\n\tgit commit -m \"$name\" &&\n\ttest_must_fail git svn set-tree --find-copies-harder --rmdir \\\n\t\t${remotes_git_svn}..mybranch2\nSwitched to a new branch 'mybranch2'\n[mybranch2 0dd2e60] detect node change from directory to file #1\n Author: A U Thor <author@example.com>\n 1 files changed, 0 insertions(+), 0 deletions(-)\n rename bar/zzz => bar (100%)\nTransaction is out of date: Directory '/bar' is out of date at /home/nicolas/dev/official_packages/gitrepos/git/t/../git-svn line 3439\n\n*   ok 6: detect node change from directory to file #1\n\n* expecting success: \n\trm -f \"$GIT_DIR\"/index &&\n\tgit checkout -f -b mybranch3 ${remotes_git_svn} &&\n\trm bar/zzz &&\n\tgit update-index --remove bar/zzz &&\n\tmkdir bar/zzz &&\n\techo yyy > bar/zzz/yyy &&\n\tgit update-index --add bar/zzz/yyy &&\n\tgit commit -m \"$name\" &&\n\ttest_must_fail git svn set-tree --find-copies-harder --rmdir \\\n\t\t${remotes_git_svn}..mybranch3\nSwitched to a new branch 'mybranch3'\n[mybranch3 f257ca2] detect node change from file to directory #2\n Author: A U Thor <author@example.com>\n 2 files changed, 1 insertions(+), 1 deletions(-)\n delete mode 100644 bar/zzz\n create mode 100644 bar/zzz/yyy\n\tD\tbar/zzz\nbar/zzz already exists in repository at r2 and it is not a directory (file/1)\n*   ok 7: detect node change from file to directory #2\n\n* expecting success: \n\trm -f \"$GIT_DIR\"/index &&\n\tgit checkout -f -b mybranch4 ${remotes_git_svn} &&\n\trm -rf dir &&\n\tgit update-index --remove -- dir/file &&\n\ttouch dir &&\n\techo asdf > dir &&\n\tgit update-index --add -- dir &&\n\tgit commit -m \"$name\" &&\n\ttest_must_fail git svn set-tree --find-copies-harder --rmdir \\\n\t\t${remotes_git_svn}..mybranch4\nSwitched to a new branch 'mybranch4'\n[mybranch4 6c02763] detect node change from directory to file #2\n Author: A U Thor <author@example.com>\n 2 files changed, 1 insertions(+), 1 deletions(-)\n create mode 100644 dir\n delete mode 100644 dir/file\n\tD\tdir/file\nItem already exists in filesystem: File already exists: filesystem '/home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/svnrepo/db', transaction '2-5', path '/dir' at /home/nicolas/dev/official_packages/gitrepos/git/t/../git-svn line 3439\n\n*   ok 8: detect node change from directory to file #2\n\n* expecting success: \n\trm -f \"$GIT_DIR\"/index &&\n\tgit checkout -f -b mybranch5 ${remotes_git_svn} &&\n\tchmod -x exec.sh &&\n\tgit update-index exec.sh &&\n\tgit commit -m \"$name\" &&\n\tgit svn set-tree --find-copies-harder --rmdir \\\n\t\t${remotes_git_svn}..mybranch5 &&\n\tsvn_cmd up \"$SVN_TREE\" &&\n\ttest ! -x \"$SVN_TREE\"/exec.sh\nSwitched to a new branch 'mybranch5'\n[mybranch5 f27fc06] remove executable bit from a file\n Author: A U Thor <author@example.com>\n 0 files changed, 0 insertions(+), 0 deletions(-)\n mode change 100755 => 100644 exec.sh\n\tM\texec.sh\n\tM\texec.sh\nr3 = c31b0e6cdf5d70b0c05a2e3b9b39a3e02c2e06d8 (refs/remotes/git-svn)\nDone committing 1 revisions to SVN\nUU   /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/exec.sh\nUpdated to revision 3.\n*   ok 9: remove executable bit from a file\n\n* expecting success: \n\tchmod +x exec.sh &&\n\tgit update-index exec.sh &&\n\tgit commit -m \"$name\" &&\n\tgit svn set-tree --find-copies-harder --rmdir \\\n\t\t${remotes_git_svn}..mybranch5 &&\n\tsvn_cmd up \"$SVN_TREE\" &&\n\ttest -x \"$SVN_TREE\"/exec.sh\n[mybranch5 c868af9] add executable bit back file\n Author: A U Thor <author@example.com>\n 0 files changed, 0 insertions(+), 0 deletions(-)\n mode change 100644 => 100755 exec.sh\n\tM\texec.sh\n\tM\texec.sh\nr4 = 91c7e9fd0952a4274a4ccd099840bddfa9576678 (refs/remotes/git-svn)\nDone committing 1 revisions to SVN\nUU   /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/exec.sh\nUpdated to revision 4.\n*   ok 10: add executable bit back file\n\n* expecting success: \n\trm exec.sh &&\n\tln -s bar/zzz exec.sh &&\n\tgit update-index exec.sh &&\n\tgit commit -m \"$name\" &&\n\tgit svn set-tree --find-copies-harder --rmdir \\\n\t\t${remotes_git_svn}..mybranch5 &&\n\tsvn_cmd up \"$SVN_TREE\" &&\n\ttest -L \"$SVN_TREE\"/exec.sh\n[mybranch5 cdc5cc3] executable file becomes a symlink to bar/zzz (file)\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 1 deletions(-)\n rewrite exec.sh (100%)\n mode change 100755 => 120000\n\tT\texec.sh\n\tM\texec.sh\nr5 = bef12358449635e87e233b214500a9267c0c8a05 (refs/remotes/git-svn)\nDone committing 1 revisions to SVN\nUU   /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/exec.sh\nUpdated to revision 5.\n*   ok 11: executable file becomes a symlink to bar/zzz (file)\n\n* expecting success: \n\tchmod +x bar/zzz &&\n\tln -s bar/zzz exec-2.sh &&\n\tgit update-index --add bar/zzz exec-2.sh &&\n\tgit commit -m \"$name\" &&\n\tgit svn set-tree --find-copies-harder --rmdir \\\n\t\t${remotes_git_svn}..mybranch5 &&\n\tsvn_cmd up \"$SVN_TREE\" &&\n\ttest -x \"$SVN_TREE\"/bar/zzz &&\n\ttest -L \"$SVN_TREE\"/exec-2.sh\n[mybranch5 ce704f0] new symlink is added to a file that was also just made executable\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 0 deletions(-)\n mode change 100644 => 100755 bar/zzz\n create mode 120000 exec-2.sh\n\tC\texec.sh => exec-2.sh\n\tM\tbar/zzz\n\tM\tbar/zzz\n\tA\texec-2.sh\nr6 = c81bb7423d3195ee520cd0ba2d5da04ac5fceeb0 (refs/remotes/git-svn)\nDone committing 1 revisions to SVN\nUU   /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/bar/zzz\nA    /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/exec-2.sh\nUpdated to revision 6.\n*   ok 12: new symlink is added to a file that was also just made executable\n\n* expecting success: \n\techo git help > help || true &&\n\trm exec-2.sh &&\n\tcp help exec-2.sh &&\n\tgit update-index exec-2.sh &&\n\tgit commit -m \"$name\" &&\n\tgit svn set-tree --find-copies-harder --rmdir \\\n\t\t${remotes_git_svn}..mybranch5 &&\n\tsvn_cmd up \"$SVN_TREE\" &&\n\ttest -f \"$SVN_TREE\"/exec-2.sh &&\n\ttest ! -L \"$SVN_TREE\"/exec-2.sh &&\n\ttest_cmp help \"$SVN_TREE\"/exec-2.sh\n[mybranch5 da8c65b] modify a symlink to become a file\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 1 deletions(-)\n rewrite exec-2.sh (100%)\n mode change 120000 => 100644\n\tT\texec-2.sh\n\tM\texec-2.sh\nr7 = 029215de766ed32ca649230497785d0c2b25cdce (refs/remotes/git-svn)\nDone committing 1 revisions to SVN\nUU   /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/.git/svn/refs/remotes/git-svn/svn-tree/exec-2.sh\nUpdated to revision 7.\ntest_cmp:1: command not found: diff -u\n* FAIL 13: modify a symlink to become a file\n\t\n\t\techo git help > help || true &&\n\t\trm exec-2.sh &&\n\t\tcp help exec-2.sh &&\n\t\tgit update-index exec-2.sh &&\n\t\tgit commit -m \"$name\" &&\n\t\tgit svn set-tree --find-copies-harder --rmdir \\\n\t\t\t${remotes_git_svn}..mybranch5 &&\n\t\tsvn_cmd up \"$SVN_TREE\" &&\n\t\ttest -f \"$SVN_TREE\"/exec-2.sh &&\n\t\ttest ! -L \"$SVN_TREE\"/exec-2.sh &&\n\t\ttest_cmp help \"$SVN_TREE\"/exec-2.sh\n\n* skipping test: commit with UTF-8 message: locale: C \n\techo '# hello' >> exec-2.sh &&\n\tgit update-index exec-2.sh &&\n\tgit commit -m 'éï∏' &&\n\tgit svn set-tree HEAD\n* skip 14: commit with UTF-8 message: locale: C\n\n* expecting success: git svn init \"$svnrepo\" && git svn fetch &&\n     git rev-list --pretty=raw ${remotes_git_svn} | grep ^tree | uniq > a &&\n     git rev-list --pretty=raw remotes/alt | grep ^tree | uniq > b &&\n     test_cmp a b\nUsing existing [svn-remote \"svn\"]\n\tA\tfoo.link\n\tA\tfoo\n\tA\tbar/zzz\n\tA\texec.sh\n\tA\tdir/a/b/c/d/e/file\nr1 = 7573d34cdf10b5542f8caa5298e01b279338e333 (refs/remotes/alt)\n\tA\tfile\n\tD\tdir/a/b/c/d/e/file\n\tD\tdir/a/\n\tA\tdir/file\nW: -empty_dir: dir/a\nr2 = c7cb7b4d4365180d5e8008b247efba7cbb2613a3 (refs/remotes/alt)\n\tM\texec.sh\nr3 = 5d528b2954a387fb4804137ab6fd20829a90a21c (refs/remotes/alt)\n\tM\texec.sh\nr4 = 8b00511e65ab590e00babc4b5fd2cca88dd68202 (refs/remotes/alt)\n\tM\texec.sh\nr5 = 2c3498c0659fcec8db0fb11901f22b604d63aef4 (refs/remotes/alt)\n\tM\tbar/zzz\n\tA\texec-2.sh\nr6 = 81736e5906738e41761c795e49f99743f1c00244 (refs/remotes/alt)\n\tM\texec-2.sh\nr7 = 5098d81d13fd07e451327a52f22da679ab7c3b9f (refs/remotes/alt)\ntest_cmp:1: command not found: diff -u\n* FAIL 15: test fetch functionality (svn => git) with alternate GIT_SVN_ID\n\tgit svn init \"$svnrepo\" && git svn fetch &&\n\t     git rev-list --pretty=raw ${remotes_git_svn} | grep ^tree | uniq > a &&\n\t     git rev-list --pretty=raw remotes/alt | grep ^tree | uniq > b &&\n\t     test_cmp a b\n\n* expecting success: test_cmp a expected\ntest_cmp:1: command not found: diff -u\n* FAIL 16: check imported tree checksums expected tree checksums\n\ttest_cmp a expected\n\n* expecting success: \n        git config --add svn-remote.svn.fetch                               bar:refs/remotes/git-svn &&\n\ttest_must_fail git svn migrate\n\nRemote ref refs/remote/git-svn is tracked by\n  \"svn-remote.svn.fetch=bar:refs/remotes/git-svn\"\nand\n  \"svn-remote.svn.fetch=:refs/remotes/git-svn\"\nPlease resolve this ambiguity in your git configuration file before continuing\n\n*   ok 17: exit if remote refs are ambigious\n\n* expecting success: \n        svnadmin create \"${PWD}/svnrepo2\" &&\n        svn mkdir -m \"mkdir bar\" \"${svnrepo}2/bar\" &&\n        git config --unset svn-remote.svn.fetch \\\n                                \"^bar:refs/${remotes_git_svn}$\" &&\n\ttest_must_fail git svn init \"${svnrepo}2/bar\"\n        \n\nCommitted revision 1.\nsvn-remote.svn.url already set: file:///home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/svnrepo\nwanted to set to: file:///home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/svnrepo2/bar\n\n*   ok 18: exit if init-ing a would clobber a URL\n\n* expecting success: \n        git svn init --minimize-url -i bar \"$svnrepo/bar\" &&\n        git config --get svn-remote.svn.fetch \\\n                              \"^bar:refs/remotes/bar$\" &&\n        git config --get svn-remote.svn.fetch \\\n                              \"^:refs/${remotes_git_svn}$\"\n        \nUsing existing [svn-remote \"svn\"]\nUsing higher level of URL: file:///home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/svnrepo/bar => file:///home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/svnrepo\nbar:refs/remotes/bar\n:refs/remotes/git-svn\n*   ok 19: init allows us to connect to another directory in the same repo\n\n* expecting success: \n\tgit svn fetch -i bar &&\n\tgit checkout -b my-bar refs/remotes/bar &&\n\techo 1 > foo &&\n\tgit add foo &&\n\tgit commit -m \"change 1\" &&\n\techo 2 > foo &&\n\tgit add foo &&\n\tgit commit -m \"change 2\" &&\n\told_head=$(git rev-parse HEAD) &&\n\tgit svn dcommit -i bar HEAD^ &&\n\ttest $old_head = $(git rev-parse HEAD) &&\n\ttest refs/heads/my-bar = $(git symbolic-ref HEAD) &&\n\tgit log refs/remotes/bar | grep \"change 1\" &&\n\t! git log refs/remotes/bar | grep \"change 2\" &&\n\tgit checkout master &&\n\tgit branch -D my-bar\n\t\n\tA\tzzz\nr1 = 02239329d31582d3ac50ea7db0743bb2fa64c2e7 (refs/remotes/bar)\n\tM\tzzz\nr6 = 9cc526b53cf6f77bdca1cda99885527af472a276 (refs/remotes/bar)\nSwitched to a new branch 'my-bar'\n[my-bar c238936] change 1\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 0 deletions(-)\n create mode 100644 foo\n[my-bar a01e587] change 2\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 1 deletions(-)\nCommitting to file:///home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/svnrepo/bar ...\n\tA\tfoo\nCommitted r8\n\tA\tfoo\nr8 = ef862194088e082f60560ce6bf4058c33c384aaa (refs/remotes/bar)\nNo changes between current HEAD and refs/remotes/bar\nResetting to the latest refs/remotes/bar\ndcommitted on a detached HEAD because you gave a revision argument.\nThe rewritten commit is: ef862194088e082f60560ce6bf4058c33c384aaa\n    change 1\nSwitched to branch 'master'\nDeleted branch my-bar (was a01e587).\n*   ok 20: dcommit $rev does not clobber current branch\n\n* expecting success: \n\tgit svn fetch -i bar &&\n\tgit checkout -b my-bar refs/remotes/bar &&\n\techo abc > d &&\n\tgit update-index --add d &&\n\tgit commit -m '/bar/d should be in the log' &&\n\tgit svn dcommit -i bar &&\n\ttest -z \"`git diff refs/heads/my-bar refs/remotes/bar`\" &&\n\tmkdir newdir &&\n\techo new > newdir/dir &&\n\tgit update-index --add newdir/dir &&\n\tgit commit -m 'add a new directory' &&\n\tgit svn dcommit -i bar &&\n\ttest -z \"`git diff refs/heads/my-bar refs/remotes/bar`\" &&\n\techo foo >> newdir/dir &&\n\tgit update-index newdir/dir &&\n\tgit commit -m 'modify a file in new directory' &&\n\tgit svn dcommit -i bar &&\n\ttest -z \"`git diff refs/heads/my-bar refs/remotes/bar`\"\n\t\n\tA\tbar/foo\nr8 = 490bfa0b7170d45ae4001a5afbe18c850276cff2 (refs/remotes/alt)\nSwitched to a new branch 'my-bar'\n[my-bar 3ed5564] /bar/d should be in the log\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 0 deletions(-)\n create mode 100644 d\nCommitting to file:///home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/svnrepo/bar ...\n\tA\td\nCommitted r9\n\tA\td\nr9 = 3183042ff13ded336c3f3fde238bc3901142e454 (refs/remotes/bar)\nNo changes between current HEAD and refs/remotes/bar\nResetting to the latest refs/remotes/bar\n[my-bar ff72ce4] add a new directory\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 0 deletions(-)\n create mode 100644 newdir/dir\nCommitting to file:///home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/svnrepo/bar ...\n\tA\tnewdir/dir\nCommitted r10\n\tA\tnewdir/dir\nr10 = e095f32f8a89045ff566f9f098f20470167e56ff (refs/remotes/bar)\nNo changes between current HEAD and refs/remotes/bar\nResetting to the latest refs/remotes/bar\n[my-bar 1fe4815] modify a file in new directory\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 0 deletions(-)\nCommitting to file:///home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/svnrepo/bar ...\n\tM\tnewdir/dir\nCommitted r11\n\tM\tnewdir/dir\nr11 = 4d83186c6ffd935735084bc924b16227f4515f5f (refs/remotes/bar)\nNo changes between current HEAD and refs/remotes/bar\nResetting to the latest refs/remotes/bar\n*   ok 21: able to dcommit to a subdirectory\n\n* expecting success: \n\techo cba > d &&\n\tgit update-index d &&\n\tgit commit -m 'update /bar/d' &&\n\tgit svn set-tree -i bar HEAD &&\n\ttest -z \"`git diff refs/heads/my-bar refs/remotes/bar`\"\n\t\n[my-bar 41e3701] update /bar/d\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\tM\td\n\tM\td\nr12 = 999a30fff02df39afb024a80bcf73d029f8bb58f (refs/remotes/bar)\nDone committing 1 revisions to SVN\n*   ok 22: able to set-tree to a subdirectory\n\n* expecting success: \n\tmkdir bare-repo &&\n\t( cd bare-repo &&\n\tgit init --bare &&\n\tGIT_DIR=. git svn init \"$svnrepo\" &&\n\tgit svn fetch ) &&\n\trm -rf bare-repo\n\t\nInitialized empty Git repository in /home/nicolas/dev/official_packages/gitrepos/git/t/trash directory.test-lib/bare-repo/\n\tA\tfoo.link\n\tA\tfoo\n\tA\tbar/zzz\n\tA\texec.sh\n\tA\tdir/a/b/c/d/e/file\nr1 = 7573d34cdf10b5542f8caa5298e01b279338e333 (refs/remotes/alt)\n\tA\tfile\n\tD\tdir/a/b/c/d/e/file\n\tD\tdir/a/\n\tA\tdir/file\nW: -empty_dir: dir/a\nr2 = c7cb7b4d4365180d5e8008b247efba7cbb2613a3 (refs/remotes/alt)\n\tM\texec.sh\nr3 = 5d528b2954a387fb4804137ab6fd20829a90a21c (refs/remotes/alt)\n\tM\texec.sh\nr4 = 8b00511e65ab590e00babc4b5fd2cca88dd68202 (refs/remotes/alt)\n\tM\texec.sh\nr5 = 2c3498c0659fcec8db0fb11901f22b604d63aef4 (refs/remotes/alt)\n\tM\tbar/zzz\n\tA\texec-2.sh\nr6 = 81736e5906738e41761c795e49f99743f1c00244 (refs/remotes/alt)\n\tM\texec-2.sh\nr7 = 5098d81d13fd07e451327a52f22da679ab7c3b9f (refs/remotes/alt)\n\tA\tbar/foo\nr8 = 490bfa0b7170d45ae4001a5afbe18c850276cff2 (refs/remotes/alt)\n\tA\tbar/d\nr9 = 886d51e27ef561f5700a77ea2b92d16f8a432da1 (refs/remotes/alt)\n\tA\tbar/newdir/dir\nr10 = 99b162b8b7160a82b8f56cbb50f3d1ac0c7182e9 (refs/remotes/alt)\n\tM\tbar/newdir/dir\nr11 = 7d5433c53f679562f1896008fb000de39cf59c01 (refs/remotes/alt)\n\tM\tbar/d\nr12 = 13b90b1bb888796b71d8e98d775f0a9f5f5c5481 (refs/remotes/alt)\n*   ok 23: git-svn works in a bare repository\n\n* failed 3 among 23 test(s)\n"},{"id":"136040","messageId":"20100302212806.GA21413@coredump.intra.peff.net","threadId":"22883","inReplyTo":"20100302194518.GA12942@vidovic","subject":"Re: 3 failures on test t9100 (svn)","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2010-03-02T21:28:06Z","receivedAt":"2010-03-02T21:28:06Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Mar 02, 2010 at 08:45:18PM +0100, Nicolas Sebrecht wrote:\n\n> Some tests in t9100 don't pass here with current next (full log\n> attached). Any idea?\n> [...]\n>   test_cmp:1: command not found: diff -u\n\nProbably related to this line. Assuming you have \"diff\" in your PATH,\nbased on that message I would guess that your shell is trying to execute\n\"diff -u\" as a single file, which obviously won't work. The relevant\ncode in test-lib.sh is something like:\n\n  GIT_TEST_CMP='diff -u'\n  test_cmp() {\n    $GIT_TEST_CMP \"$@\"\n  }\n\nwhich _should_ split the \"diff -u\" on whitespace. What platform are you\non? Which shell is /bin/sh on your system?\n\n-Peff\n"},{"id":"136049","messageId":"20100303005804.GA17120@vidovic","threadId":"22883","inReplyTo":"20100302212806.GA21413@coredump.intra.peff.net","subject":"Re: 3 failures on test t9100 (svn)","fromName":"Nicolas Sebrecht","fromEmail":"nicolas.s.dev@gmx.fr","sentAt":"2010-03-03T00:58:04Z","receivedAt":"2010-03-03T00:58:04Z","isPatch":false,"sender":{"key":"nicolas.s.dev@gmx.fr","avatar":null},"body":"The 02/03/10, Jeff King wrote:\n> On Tue, Mar 02, 2010 at 08:45:18PM +0100, Nicolas Sebrecht wrote:\n> \n> > Some tests in t9100 don't pass here with current next (full log\n> > attached). Any idea?\n> > [...]\n> >   test_cmp:1: command not found: diff -u\n> \n> Probably related to this line. Assuming you have \"diff\" in your PATH,\n\n  $ which diff\n  /usr/bin/diff\n  $ diff --version\n  diff (GNU diffutils) 2.8.7\n\n> based on that message I would guess that your shell is trying to execute\n> \"diff -u\" as a single file, which obviously won't work. The relevant\n> code in test-lib.sh is something like:\n> \n>   GIT_TEST_CMP='diff -u'\n>   test_cmp() {\n>     $GIT_TEST_CMP \"$@\"\n>   }\n> \n> which _should_ split the \"diff -u\" on whitespace.\n\nI've tried with these exact lines without more success.\n\n>                                                   What platform are you\n> on? Which shell is /bin/sh on your system?\n\nI'm running Gentoo. I had\n\n  $ ls -ld $(which sh)\n  lrwxrwxrwx 1 root root 4 févr. 13  2009 /bin/sh -> bash\n  $ bash --version\n  GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu)\n\nI've changed the symbolic link to point to /bin/zsh (my every day shell)\nbut this didn't help.\n\n  $ zsh --version\n  zsh 4.3.9 (x86_64-pc-linux-gnu)\n\nI think your diagnosis is right or very near from the problem. But I\nwould have expected that changing to another shell did the trick. Odd.\n\n\nThat said, I did the svn tests because sometimes I have reproductible\nerrors with 'git svn fetch' or 'git svn clone'. I'm not sure how both\nproblems could be related... git-svn is a Perl script. The given message\nfor this one is \"error: died with signal 11\" from what I remember (but\nI'm sure about the \"signal 11\" part).\n\nI'll do more investigations at work tomorrow. I've already tried to add\nthe \"-d\" flag in git-svn and it didn't help neither: git looked like in\nan infinite loop. Odd, odd, odd.\n\n-- \nNicolas Sebrecht\n"},{"id":"136065","messageId":"20100303092213.GA12909@vidovic.wsb","threadId":"22883","inReplyTo":"20100303005804.GA17120@vidovic","subject":"git-svn died of signal 11 (was \"3 failures on test t9100 (svn)\")","fromName":"Nicolas Sebrecht","fromEmail":"nicolas.s.dev@gmx.fr","sentAt":"2010-03-03T09:22:13Z","receivedAt":"2010-03-03T09:22:13Z","isPatch":false,"sender":{"key":"nicolas.s.dev@gmx.fr","avatar":null},"body":"The 03/03/10, Nicolas Sebrecht wrote:\n\n> That said, I did the svn tests because sometimes I have reproductible\n> errors with 'git svn fetch' or 'git svn clone'. I'm not sure how both\n> problems could be related... git-svn is a Perl script. The given message\n> for this one is \"error: died with signal 11\" from what I remember (but\n> I'm sure about the \"signal 11\" part).\n\nHere we are:\n\n  $ git svn fetch\n  error: git-svn died of signal 11\n\nThis is reproductible in most of my repositories based on a remote\nsubversion server.\n\nExamples:\n#1\n\n  $ cd okawix\n  $ cat .git/config\n  <...>\n  [svn-remote \"svn\"]\n    url = https://okawix.svn.sourceforge.net/svnroot/okawix\n    fetch = :refs/remotes/git-svn\n\n  $ git svn fetch\n    A branches/liquid-okawix-experiment/okawix/components/owItemEnumerator.js\n    A branches/liquid-okawix-experiment/okawix/components/owContentList.js\n    M branches/liquid-okawix-experiment/okawix/components/owContentItem.js\n    M branches/liquid-okawix-experiment/okawix/chrome/content/interfacewiki/js/corpus.js\n    M branches/liquid-okawix-experiment/minitar/CMakeLists.txt\n    M branches/liquid-okawix-experiment/public/owIContentItem.idl\n    A branches/liquid-okawix-experiment/public/owIList.idl\n    M branches/liquid-okawix-experiment/public/owIItem.idl\n    A branches/liquid-okawix-experiment/public/owIItemListener.idl\n    M branches/liquid-okawix-experiment/public/CMakeLists.txt\n  r113 = 6beca3525de64c1883c610e505b801bffdacff9f (refs/remotes/git-svn)\n    M branches/liquid-okawix-experiment/okawix/components/owContentItem.js\n  r114 = 9dcffad45f421bcfb681b9427f8d8d2b52ac02c6 (refs/remotes/git-svn)\n    M branches/liquid-okawix-experiment/okawix/components/owContentList.js\n    M branches/liquid-okawix-experiment/okawix/chrome/content/interfacewiki/js/corpussidebar.js\n    M branches/liquid-okawix-experiment/okawix/chrome/content/interfacewiki/js/corpus.js\n    M branches/liquid-okawix-experiment/public/owIList.idl\n    A branches/liquid-okawix-experiment/public/owIListListener.idl\n    M branches/liquid-okawix-experiment/public/CMakeLists.txt\n  r115 = 3bfa1336d8ea00d722fadbf15f0b2ba4a3818b70 (refs/remotes/git-svn)\n  error: git-svn died of signal 11\n  $\n\n#2\n\n  $ cd plume-cms\n  $ cat .git/config\n  <...>\n  [svn-remote \"svn\"]\n    url = https://pxsystem.svn.sourceforge.net/svnroot/pxsystem\n    fetch = :refs/remotes/git-svn\n  $ git svn fetch\n  error: git-svn died of signal 11\n  $\n\n\n_But_ git-svn works as expected in the gccgo repository for example:\n\n  $ cd gccgo\n  $ cat .git/config\n  <...>\n  [svn-remote \"svn\"]\n    url = svn://gcc.gnu.org/svn/gcc/branches/gccgo\n    fetch = :refs/remotes/git-svn\n  $ git svn fetch\n  $\n\n> I'll do more investigations at work tomorrow. I've already tried to add\n> the \"-d\" flag in git-svn and it didn't help neither: git looked like in\n> an infinite loop. Odd, odd, odd.\n\nAdding the -d option to the shebang of git-svn doesn't help. I've\nstopped the process after 24 minutes running.  I have no more\ninformation with the -w option set.\n\nFor repositories where it works, the debug option works as expected too:\n\n  $ cd gccgo\n  $ git svn fetch\n  Loading DB routines from perl5db.pl version 1.28\n  Editor support available.\n  Enter h or `h h' for help, or `man perldebug' for more help.\n  \n  main::(/home/nicolas/bin/libexec/git-core/git-svn:10):\n  10: $AUTHOR = 'Eric Wong <normalperson@yhbt.net>';\n    DB<1> c\n  Debugged program terminated.  Use q to quit or R to restart,\n  <...>\n  $\n\nWhat shall I do next?\n\n-- \nNicolas Sebrecht\n"},{"id":"136083","messageId":"20100303172302.GA10168@coredump.intra.peff.net","threadId":"22883","inReplyTo":"20100303005804.GA17120@vidovic","subject":"Re: 3 failures on test t9100 (svn)","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2010-03-03T17:23:02Z","receivedAt":"2010-03-03T17:23:02Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Wed, Mar 03, 2010 at 01:58:04AM +0100, Nicolas Sebrecht wrote:\n\n> >   GIT_TEST_CMP='diff -u'\n> >   test_cmp() {\n> >     $GIT_TEST_CMP \"$@\"\n> >   }\n> > \n> > which _should_ split the \"diff -u\" on whitespace.\n> \n> I've tried with these exact lines without more success.\n\nThat's weird. Can you test this in each of your shells:\n\n  foo() {\n    echo \"in foo, arg=$1\"\n  }\n  VARIABLE='foo bar'\n  $VARIABLE\n\nIt should print \"in foo, arg=bar\". If it doesn't, then the shell is\nbroken.\n\nAlso, can you confirm that you aren't setting SHELL_PATH in the Makefile\n(or in your environment) when building and testing git?\n\n>   $ ls -ld $(which sh)\n>   lrwxrwxrwx 1 root root 4 févr. 13  2009 /bin/sh -> bash\n>   $ bash --version\n>   GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu)\n\nI have this same version of bash on my Debian stable box, and it passes\nthe test I outlined above. So perhaps there is something more subtle\ngoing on.\n\n> That said, I did the svn tests because sometimes I have reproductible\n> errors with 'git svn fetch' or 'git svn clone'. I'm not sure how both\n> problems could be related... git-svn is a Perl script. The given message\n> for this one is \"error: died with signal 11\" from what I remember (but\n> I'm sure about the \"signal 11\" part).\n\nI doubt they are related. This test_cmp problem is a problem in the test\nharness, but it may be masking actual problems by giving false\nnegatives.\n\n-Peff\n"},{"id":"136084","messageId":"20100303173131.GB10168@coredump.intra.peff.net","threadId":"22883","inReplyTo":"20100303092213.GA12909@vidovic.wsb","subject":"Re: git-svn died of signal 11 (was \"3 failures on test t9100 (svn)\")","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2010-03-03T17:31:31Z","receivedAt":"2010-03-03T17:31:31Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Wed, Mar 03, 2010 at 10:22:13AM +0100, Nicolas Sebrecht wrote:\n\n>   $ cd okawix\n>   $ cat .git/config\n>   <...>\n>   [svn-remote \"svn\"]\n>     url = https://okawix.svn.sourceforge.net/svnroot/okawix\n>     fetch = :refs/remotes/git-svn\n> \n>   $ git svn fetch\n> [...]\n>   error: git-svn died of signal 11\n\nI was able to clone this repository just fine with \"git svn clone\"\n(which should internally just be doing that same fetch). But since it is\na segfault, and since you are having problems with some repositories and\nnot others, it may be a problem with uninitialized data or similar.\n\nAnd the fact that you are getting a perl program to segfault means it is\nprobably not the perl program's fault, but a problem with perl itself or\nan XS module loaded by perl (like, say, the SVN module).\n\nDo you have valgrind installed? Have you tried running\n\n  valgrind perl /usr/libexec/git-core/git-svn fetch\n\n(you may need to tweak the libexeec path depending on your git install).\nThat should at least correctly identify the source of the segfault (you\ncan try it with gdb, too, but often segfaults are caused by memory\nproblems that happened much earlier, so valgrind will give you a more\naccurate answer).\n\n> > I'll do more investigations at work tomorrow. I've already tried to add\n> > the \"-d\" flag in git-svn and it didn't help neither: git looked like in\n> > an infinite loop. Odd, odd, odd.\n> \n> Adding the -d option to the shebang of git-svn doesn't help. I've\n> stopped the process after 24 minutes running.  I have no more\n> information with the -w option set.\n\nWhat's it doing for 24 minutes? Is it actually chewing on cpu, or is it\nblocking on I/O? Have you tried running it under strace?\n\n-Peff\n"},{"id":"136087","messageId":"20100303195249.GA12919@vidovic","threadId":"22883","inReplyTo":"20100303172302.GA10168@coredump.intra.peff.net","subject":"Re: 3 failures on test t9100 (svn)","fromName":"Nicolas Sebrecht","fromEmail":"nicolas.s.dev@gmx.fr","sentAt":"2010-03-03T19:52:49Z","receivedAt":"2010-03-03T19:52:49Z","isPatch":false,"sender":{"key":"nicolas.s.dev@gmx.fr","avatar":null},"body":"The 03/03/10, Jeff King wrote:\n> On Wed, Mar 03, 2010 at 01:58:04AM +0100, Nicolas Sebrecht wrote:\n> \n> That's weird. Can you test this in each of your shells:\n> \n>   foo() {\n>     echo \"in foo, arg=$1\"\n>   }\n>   VARIABLE='foo bar'\n>   $VARIABLE\n> \n> It should print \"in foo, arg=bar\". If it doesn't, then the shell is\n> broken.\n\nIt works, so the shell isn't that broken. :)\n\n> Also, can you confirm that you aren't setting SHELL_PATH in the Makefile\n> (or in your environment) when building and testing git?\n\nI run \"make install\" and I only tune the prefix variable.\n\n> I have this same version of bash on my Debian stable box, and it passes\n> the test I outlined above. So perhaps there is something more subtle\n> going on.\n\nThanks Jeff for your feedbacks.\n\n> > That said, I did the svn tests because sometimes I have reproductible\n> > errors with 'git svn fetch' or 'git svn clone'. I'm not sure how both\n> > problems could be related... git-svn is a Perl script. The given message\n> > for this one is \"error: died with signal 11\" from what I remember (but\n> > I'm sure about the \"signal 11\" part).\n> \n> I doubt they are related. This test_cmp problem is a problem in the test\n> harness, but it may be masking actual problems by giving false\n> negatives.\n\nI agree. I'll correct the git-svn issue before coming back to the tests\nissues.\n\n-- \nNicolas Sebrecht\n"},{"id":"136089","messageId":"7vr5o1p42d.fsf@alter.siamese.dyndns.org","threadId":"22883","inReplyTo":"20100303172302.GA10168@coredump.intra.peff.net","subject":"Re: 3 failures on test t9100 (svn)","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-03-03T20:01:46Z","receivedAt":"2010-03-03T20:01:46Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jeff King <peff@peff.net> writes:\n\n> On Wed, Mar 03, 2010 at 01:58:04AM +0100, Nicolas Sebrecht wrote:\n>\n>> >   GIT_TEST_CMP='diff -u'\n>> >   test_cmp() {\n>> >     $GIT_TEST_CMP \"$@\"\n>> >   }\n>> > \n>> > which _should_ split the \"diff -u\" on whitespace.\n>> \n>> I've tried with these exact lines without more success.\n>\n> That's weird. Can you test this in each of your shells:\n>\n>   foo() {\n>     echo \"in foo, arg=$1\"\n>   }\n>   VARIABLE='foo bar'\n>   $VARIABLE\n>\n> It should print \"in foo, arg=bar\". If it doesn't, then the shell is\n> broken.\n\nThe only other possibility I can think of is if somebody futz with IFS, in\norder to e.g. use the \"word splitting\" logic for \"line splitting\" (or\n\"split at colon\"), and forgets to restore the original value.\n"},{"id":"136107","messageId":"20100303212433.GB12919@vidovic","threadId":"22883","inReplyTo":"20100303173131.GB10168@coredump.intra.peff.net","subject":"Re: git-svn died of signal 11 (was \"3 failures on test t9100 (svn)\")","fromName":"Nicolas Sebrecht","fromEmail":"nicolas.s.dev@gmx.fr","sentAt":"2010-03-03T21:24:33Z","receivedAt":"2010-03-03T21:24:33Z","isPatch":false,"sender":{"key":"nicolas.s.dev@gmx.fr","avatar":null},"body":"The 03/03/10, Jeff King wrote:\n> On Wed, Mar 03, 2010 at 10:22:13AM +0100, Nicolas Sebrecht wrote:\n> \n> >   $ git svn fetch\n> > [...]\n> >   error: git-svn died of signal 11\n> \n> I was able to clone this repository just fine with \"git svn clone\"\n> (which should internally just be doing that same fetch). But since it is\n> a segfault, and since you are having problems with some repositories and\n> not others, it may be a problem with uninitialized data or similar.\n> \n> And the fact that you are getting a perl program to segfault means it is\n> probably not the perl program's fault, but a problem with perl itself or\n> an XS module loaded by perl (like, say, the SVN module).\n\nI've tried with perl-5.8.8-r6 instead of perl-5.8.8-r5 (gentoo revisions\nof ebuild) but it still segfault.\n\n> Do you have valgrind installed? Have you tried running\n\nLooking at the valgrind output (attached), it looks like the fault comes\nfrom the apr library, right? If so, it is somewhat sad because I'd\nrather not to have to sync my portage tree. :(\n\n> > Adding the -d option to the shebang of git-svn doesn't help. I've\n> > stopped the process after 24 minutes running.  I have no more\n> > information with the -w option set.\n> \n> What's it doing for 24 minutes? Is it actually chewing on cpu, or is it\n> blocking on I/O? Have you tried running it under strace?\n\nThe cpu chewing.\n\n-- \nNicolas Sebrecht\n"}]}