aboutsummaryrefslogtreecommitdiff
path: root/t/t9106-git-svn-dcommit-clobber-series.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-11-21 00:57:33 -0800
committerEric Wong <normalperson@yhbt.net>2007-11-21 20:11:11 -0800
commit8d92f24852420c425f3ee499d3c3be01be4dc15c (patch)
treee5ad3ac5e99b1c22c11cd901930b2284b7b57a22 /t/t9106-git-svn-dcommit-clobber-series.sh
parentd794d9e70ebb8c767b04f25c03290ef305cd31ab (diff)
downloadgit-8d92f24852420c425f3ee499d3c3be01be4dc15c.tar.gz
git-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>
Diffstat (limited to 't/t9106-git-svn-dcommit-clobber-series.sh')
-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 d59acc8d1..745254665 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' &&