summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Eric Wong <normalperson@yhbt.net>2007-11-21 00:57:33 -0800
committerLibravatar Eric Wong <normalperson@yhbt.net>2007-11-21 20:11:11 -0800
commit8d92f24852420c425f3ee499d3c3be01be4dc15c (patch)
treee5ad3ac5e99b1c22c11cd901930b2284b7b57a22
parentMerge git://repo.or.cz/git-gui (diff)
downloadtgif-8d92f24852420c425f3ee499d3c3be01be4dc15c.tar.xz
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>
-rwxr-xr-xt/t9106-git-svn-dcommit-clobber-series.sh1
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 d59acc8d1a..745254665d 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' &&