From: Eric Wong <normalperson@yhbt.net>
To: carbonated beverage <ramune@net-ronin.org>
Cc: Christian Couder <chriscool@tuxfamily.org>,
git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: Re: t9106 failure, bisect weirdness
Date: Wed, 21 Nov 2007 01:10:01 -0800 [thread overview]
Message-ID: <20071121091001.GA23266@soma> (raw)
In-Reply-To: <20071121045638.GA9184@net-ronin.org>
Hi, thanks for the heads up, Christian
carbonated beverage <ramune@net-ronin.org> wrote:
> > Ok thanks for doing that too.
> > Could you also look at the "file" when the test succeed and when it does not
> > and send us both versions and a diff between them (if it's not too big).
>
> Size-wise, they're tiny -- though there's a lot of lines.
>
> The diff:
>
> ramune/lycaeum:t: diff -u works.t fails.t
> --- works.t 2007-11-20 21:54:29.000000000 -0700
> +++ fails.t 2007-11-20 21:54:39.000000000 -0700
> @@ -55,9 +55,9 @@
> 55
> 56
> 57
> -5588
> +58
> 59
> 60
> -6611
> +61
> 62
> 63
Ah, these changes should've been made on the svn side. But I'm betting
a race condition appears on faster computers (which we've seen before in
other tests).
I can't reproduce it at all on any of my boxes, but does the following
one-liner fix it consistently?
Thanks,
From: Eric Wong <normalperson@yhbt.net>
Date: Wed, 21 Nov 2007 00:57:33 -0800
Subject: [PATCH] t9106: fix a race condition that caused svn to miss modifications
carbonated beverage noticed this test was occasionally failing.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
t/t9106-git-svn-dcommit-clobber-series.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/t/t9106-git-svn-dcommit-clobber-series.sh b/t/t9106-git-svn-dcommit-clobber-series.sh
index d59acc8..7452546 100755
--- a/t/t9106-git-svn-dcommit-clobber-series.sh
+++ b/t/t9106-git-svn-dcommit-clobber-series.sh
@@ -22,6 +22,7 @@ test_expect_success '(supposedly) non-conflicting change from SVN' "
cd tmp &&
perl -i -p -e 's/^58\$/5588/' file &&
perl -i -p -e 's/^61\$/6611/' file &&
+ poke file &&
test x\"\`sed -n -e 58p < file\`\" = x5588 &&
test x\"\`sed -n -e 61p < file\`\" = x6611 &&
svn commit -m '58 => 5588, 61 => 6611' &&
--
Eric Wong
next prev parent reply other threads:[~2007-11-21 9:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-19 23:06 t9106 failure, bisect weirdness carbonated beverage
2007-11-20 4:52 ` Christian Couder
2007-11-20 6:13 ` carbonated beverage
2007-11-21 4:08 ` Christian Couder
2007-11-21 4:56 ` carbonated beverage
2007-11-21 9:10 ` Eric Wong [this message]
2007-11-21 9:57 ` carbonated beverage
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071121091001.GA23266@soma \
--to=normalperson@yhbt.net \
--cc=chriscool@tuxfamily.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=ramune@net-ronin.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).