From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathias Lafeldt Subject: Re: git-svn tests fail since 1.7.2.2 Date: Thu, 28 Oct 2010 17:49:40 +0200 Message-ID: <4CC99B94.6040800@debugon.org> References: <20101028122857.3c8d3f4d@pc09.procura.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: git@vger.kernel.org To: "H.Merijn Brand" X-From: git-owner@vger.kernel.org Thu Oct 28 17:49:58 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PBUjh-0004FF-QC for gcvg-git-2@lo.gmane.org; Thu, 28 Oct 2010 17:49:54 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758717Ab0J1Ptp (ORCPT ); Thu, 28 Oct 2010 11:49:45 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:54274 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754749Ab0J1Pto (ORCPT ); Thu, 28 Oct 2010 11:49:44 -0400 Received: from [172.20.2.23] (p578D1ACA.dip.t-dialin.net [87.141.26.202]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MW7C9-1P4hGJ2tyb-00XtKI; Thu, 28 Oct 2010 17:49:42 +0200 User-Agent: Thunderbird 2.0.0.24 (X11/20100411) In-Reply-To: <20101028122857.3c8d3f4d@pc09.procura.nl> X-Provags-ID: V02:K0:G71Luh6nbH4dA8U1WqzMbmsjlYqI5WMQv4iBf2hv6mi MWx4JK4YaBy3x4IOGniqcMiyzXdLEqYWRvKe/5V3xMpBqXDtXk dmb2w1DJXm71SVLtIp/PZmefovooAuXf4SPExFyD7Wj1MMwgwd lVJqM6wpDkKOFXD3d1hOLXISP0zY9T91vr7z4zebyeRVPVR9Nm Ni/TD29IQ7ITVrdFO9IRtqvSmeeVdif/BqkepuiIlY= Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: H.Merijn Brand wrote: > I always compile git myself from scratch. One reason is that I want > git-gui to push tags by default, and the option is not available to > store that in some global config. The patches I apply are available > as http://tux.nl/Files/git-patch > > (the templates/Makefile patch is to make install work on HP-UX and AIX > too, where my machines don't seem to like the original installation > code, but that doesn't change anything else). > > Up to and including 1.7.2.1, all went smooth and fine, but as of > 1.7.2.2 (and 1.7.3.1 and 1.7.3.2), the tests started to fail on svn > issues. These tests fail * with or without * my patches. As a result > of these failures, I do not dare to install newer versions of git. > > I (have to) use svn for some remote repositories that I clone with > git-svn to be able to use my favorite tools. IMHO svn sucks in user > tools, so I prefer git, but that is probably like preaching to the > choir here :) > > I even created a few post-commit hooks in svn to sync a git clone > automatically so I don't have to waste time in svn land to track down > changes from a svn repo to some local svn repo's used in Eclipse. > > I do *not* have a ~/.subversion or ~/.svn* > > --8<--- > *** t9101-git-svn-props.sh *** > ok 1 - checkout working copy from svn > ok 2 - setup some commits to svn > ok 3 - initialize git svn > ok 4 - fetch revisions from svn > ok 5 - test svn:keywords ignoring > ok 6 - raw $Id$ found in kw.c > ok 7 - propset CR on crlf files > ok 8 - fetch and pull latest from svn and checkout a new wc > ok 9 - Comparing crlf > ok 10 - Comparing ne_crlf > ok 11 - Comparing lf > ok 12 - Comparing ne_lf > ok 13 - Comparing cr > ok 14 - Comparing ne_cr > ok 15 - Comparing empty_cr > ok 16 - Comparing empty_lf > ok 17 - Comparing empty > ok 18 - Comparing empty_crlf > ok 19 - Set CRLF on cr files > ok 20 - fetch and pull latest from svn > ok 21 - CRLF + $Id$ > ok 22 - CRLF + $Id$ (no newline) > ok 23 - test show-ignore > not ok - 24 test create-ignore > # > # git svn fetch && git pull . remotes/git-svn && > # git svn create-ignore && > # cmp ./.gitignore create-ignore.expect && > # cmp ./deeply/.gitignore create-ignore.expect && > # cmp ./deeply/nested/.gitignore create-ignore.expect && > # cmp ./deeply/nested/directory/.gitignore create-ignore.expect && > # git ls-files -s | grep gitignore | cmp - create-ignore-index.expect > # > not ok - 25 test propget > # > # git svn propget svn:ignore . | cmp - prop.expect && > # cd deeply && > # git svn propget svn:ignore . | cmp - ../prop.expect && > # git svn propget svn:entry:committed-rev nested/directory/.keep | cmp - ../prop2.expect && > # git svn propget svn:ignore .. | cmp - ../prop.expect && > # git svn propget svn:ignore nested/ | cmp - ../prop.expect && > # git svn propget svn:ignore ./nested | cmp - ../prop.expect && > # git svn propget svn:ignore .././deeply/nested | cmp - ../prop.expect > # > not ok - 26 test proplist > # > # git svn proplist . | cmp - prop.expect && > # git svn proplist nested/directory/.keep | cmp - prop2.expect > # > # failed 3 among 26 test(s) > 1..26 > -->8--- > > git-1.7.3.2/t $ prove -v t9* > : > : > Test Summary Report > ------------------- > t9101-git-svn-props.sh (Wstat: 256 Tests: 26 Failed: 3) > Failed tests: 24-26 > Non-zero exit status: 1 > t9143-git-svn-gc.sh (Wstat: 256 Tests: 11 Failed: 1) > Failed test: 10 > Non-zero exit status: 1 > Files=71, Tests=865, 451 wallclock secs ( 0.53 usr 0.07 sys + 106.75 cusr 52.05 csys = 159.40 CPU) > Result: FAIL > > > These tests fail on *all* my Linux boxes, which happen to be OpenSUSE > ranging from 11.0 to 11.3. FWIW I am not interested in svn support on > HP-UX at the moment. > > OpenSUSE 11.0/64: > Linux 2.6.25.20-0.7-default/#1 HP xw4600 Core(TM)2 Quad CPU Q9450 @ 2.66GHz/1998(4) x86_64 3950 Mb > + svn, version 1.5.7 (r36142) > > OpenSUSE 11.2/64: > Linux 2.6.31.12-0.2-default/#1 HP xw6400 Xeon(R) CPU E5320 @ 1.86GHz/1596(4) x86_64 3962 Mb > + svn, version 1.6.6 (r40053) > > OpenSUSE 11.3/32: > Linux 2.6.34.7-0.5-desktop/#1 HP EliteBook 8540p Core(TM) i5 CPU M 540 @ 2.53GHz/1199(4) i686 3868 Mb > + svn, version 1.6.9 (r901367) > > > I'm not subscribed to this list and (sorry) have no time to follow it, > so if you need more feedback, please keep me Cc'd > FYI, with Git 1.7.3.2, all tests passed for me. In particular: $ prove t9101-git-svn-props.sh t9143-git-svn-gc.sh t9101-git-svn-props....ok t9143-git-svn-gc.......ok All tests successful. Files=2, Tests=37, 11 wallclock secs ( 4.51 cusr + 2.45 csys = 6.96 CPU) $ ../git --version git version 1.7.3.2.145.g7ebee I'm running Ubuntu 9.10, btw. -Mathias